CVE-2026-100352kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation…
kin-openapi is a Go project for handling OpenAPI files. Prior to 0.148.0, the OpenAPI 3.1 validation path passes YAML NaN and infinity numeric values to santhosh-tekuri/jsonschema v6.0.2 without applying kin-openapi's existing finite-number guards. A remote unauthenticated client can send an application/yaml or application/x-yaml request body containing .nan, .inf, or -.inf to an operation with a numeric constraint, causing the dependency to create and dereference a nil big.Rat during ValidateRequest. Standard net/http servers recover the panic per connection, while other hosts or application goroutines may terminate the process. This issue is fixed in version 0.148.0.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Ubuntu have 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-100352 | |
| Ubuntu 26.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100352 | |
| Ubuntu 24.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100352 | |
| Ubuntu 22.04 | golang-github-getkin-kin-openapi | Under investigation | UBUNTU-CVE-2026-100352 | |
| Debian 14 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100352 | |
| Debian 13 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100352 | |
| Debian 12 | golang-github-getkin-kin-openapi | Fix pending | DEBIAN-CVE-2026-100352 | |
| Go library | github.com/getkin/kin-openapi | Fixed | 0.148.0 | GHSA-rj39-cv6w-8wv7 |
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.148.0
References
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
- https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e
- https://github.com/getkin/kin-openapi/releases/tag/v0.148.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.