CVE-2026-77354getkin kin-openapi
High 8.7 No auth needed
Follow: this CVE · getkin · getkin kin-openapi We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Aug 21, 2026
- Updated
- Oct 12, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for kin-openapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/getkin/kin-openapi |
≥ 0.124.0 < 0.142.0 |
0.142.0 |
go get github.com/getkin/kin-openapi@v0.142.0 |
| Go | github.com/getkin/kin-openapi |
≥ 0.124.0 < 0.142.0 |
0.142.0 |
go get github.com/getkin/kin-openapi@v0.142.0 |
Per OSV / GitHub Advisories (GHSA-xhj3-7xw9-vr34, GO-2026-6275). Check the version in your lockfile before upgrading.
Affected products
- getkin · kin-openapi
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.