Security mailing lists by PureSourceCode

CVE-2026-77354

HIGH 8.7CVSS 4.0

kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding

kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/req_resp_decoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.

Published
21 Aug 2026
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-400CWE-789
Also known as
GHSA-xhj3-7xw9-vr34GO-2026-6275
Sources
NVDJSONOSV GHSA-xhj3-7xw9-vr34JSONOSV GO-2026-6275JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/getkin/kin-openapi >= 0.124.0, < 0.142.0 0.142.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.