{"id":"CVE-2026-97394","summary":"kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array schemas missing items","details":"kin-openapi is a Go project for handling OpenAPI files. From 0.136.0 until 0.143.0, openapi3filter accepts OpenAPI 3.1 array schemas without an items keyword and then dereferences the nil Schema.Items value while decoding application/x-www-form-urlencoded or multipart/form-data request bodies, response headers, and other array parameter surfaces. A remote unauthenticated client can reach an affected operation with a nonempty request or matching response and deterministically trigger a nil-pointer panic during ValidateRequest or ValidateResponse. OpenAPI 3.0 documents are not affected because document validation rejects arrays without items, and JSON request bodies use a different decoder path. This issue is fixed in version 0.143.0.","aliases":["GHSA-p6wj-qrr4-pgh5"],"modified":"2026-10-16T02:48:05.015324082Z","published":"2026-10-15T15:29:05.238Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-248","CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97394.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97394.json"},{"type":"FIX","url":"https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d"},{"type":"WEB","url":"https://github.com/getkin/kin-openapi/releases/tag/v0.143.0"},{"type":"ADVISORY","url":"https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97394"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getkin/kin-openapi","events":[{"introduced":"ff4bce724cfa3fdf6fac4470c76a8511662b21f6"},{"fixed":"30e292371a89ca6d1f91a9553e0aa518b49f838d"}],"database_specific":{"extracted_events":[{"introduced":"0.136.0"},{"fixed":"0.143.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v0.142.0","v0.141.0","v0.140.0","v0.139.0","v0.138.0","v0.137.0","v0.136.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97394.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}