CVE-2026-77354

Source
https://cve.org/CVERecord?id=CVE-2026-77354
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77354.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-77354
Aliases
Downstream
Related
Published
2026-08-21T20:44:47Z
Modified
2026-09-11T03:30:37Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
kin-openapi: Uncontrolled resource consumption in openapi3filter deepObject query parameter decoding
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-400",
        "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77354.json"
}
References

Affected packages

Git / github.com/getkin/kin-openapi

Affected ranges

Type
GIT
Repo
https://github.com/getkin/kin-openapi
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.124.0"
        },
        {
            "fixed": "0.142.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.124.0
v0.125.0
v0.126.0
v0.127.0
v0.128.0
v0.129.0
v0.130.0
v0.131.0
v0.132.0
v0.133.0
v0.134.0
v0.135.0
v0.136.0
v0.137.0
v0.138.0
v0.139.0
v0.140.0
v0.141.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77354.json"