Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M

CVE-2026-77354kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding

High 8.7

In plain English

A high-severity uncontrolled resource consumption in kin-openapi from getkin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 55.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-77354
Debian:13golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-77354
Debian:14golang-github-getkin-kin-openapino fix listedDEBIAN-CVE-2026-77354
Gogithub.com/getkin/kin-openapi0.142.0GHSA-xhj3-7xw9-vr34
Gogithub.com/getkin/kin-openapi0.142.0GO-2026-6275
Ubuntu:22.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-77354
Ubuntu:24.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-77354
Ubuntu:26.04:LTSgolang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-77354
Ubuntu:26.10golang-github-getkin-kin-openapino fix listedUBUNTU-CVE-2026-77354

Affected products (as reported)

VendorProductVersions
getkin kin-openapi >= 0.124.0, < 0.142.0

Weakness: CWE-400, CWE-789 · 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

References