{"cve":"CVE-2026-77354","nvd":{"published":"2026-08-21T21:17:07.130","modified":"2026-10-12T16:10:00.220","status":"Deferred","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.","cvss_v4":{"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","score":8.7},"cvss_v3":null,"cwes":["CWE-400","CWE-789"],"references":["https://github.com/getkin/kin-openapi/commit/1223a0f215d2cf9beb2d9eb9ea2649d001c21388","https://github.com/getkin/kin-openapi/pull/923","https://github.com/getkin/kin-openapi/releases/tag/v0.142.0","https://github.com/getkin/kin-openapi/security/advisories/GHSA-xhj3-7xw9-vr34"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-77354","score":0.00524,"percentile":0.44137,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-xhj3-7xw9-vr34","url":"https://osv.dev/vulnerability/GHSA-xhj3-7xw9-vr34","summary":"kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding","modified":"2026-09-10T03:51:14.784950330Z","packages":[{"ecosystem":"Go","name":"github.com/getkin/kin-openapi","purl":"pkg:golang/github.com/getkin/kin-openapi","ranges":[">=0.124.0 <0.142.0"],"fixed":["0.142.0"]}]},{"id":"GO-2026-6275","url":"https://osv.dev/vulnerability/GO-2026-6275","summary":"kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding in github.com/getkin/kin-openapi","modified":"2026-09-02T22:10:54.719995799Z","packages":[{"ecosystem":"Go","name":"github.com/getkin/kin-openapi","purl":"pkg:golang/github.com/getkin/kin-openapi","ranges":[">=0.124.0 <0.142.0"],"fixed":["0.142.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}