CVE-2026-97394kin-openapi: Nil-pointer dereference panic in openapi3filter for OpenAPI 3.1 array…
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-github-getkin-kin-openapi | Fix pending | UBUNTU-CVE-2026-97394 | |
| Ubuntu 26.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-97394 | |
| Ubuntu 24.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-97394 | |
| Ubuntu 22.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-97394 | |
| Go library | github.com/getkin/kin-openapi | Fixed | 0.143.0 | GHSA-p6wj-qrr4-pgh5 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- getkin kin-openapi: affected: >= 0.136.0, < 0.143.0
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-p6wj-qrr4-pgh5
- https://github.com/getkin/kin-openapi/commit/30e292371a89ca6d1f91a9553e0aa518b49f838d
- https://github.com/getkin/kin-openapi/releases/tag/v0.143.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.