Description
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.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service and potential process crash due to unhandled panic
Action: Immediate Patch
AI Analysis

Impact

kin-openapi contains a flaw in OpenAPI 3.1 validation where YAML NaN and infinity values bypass the library’s finite‑number checks and are passed to a downstream JSONSchema validator that dereferences a nil big.Rat. This causes the validator to panic during request validation. The panic is contained only by the standard net/http recovery per connection; on other hosts or application goroutines the panic can terminate the process. The weakness involves a null pointer dereference and improper handling of special numeric values, as captured by CWE‑476 and CWE‑754.

Affected Systems

The affected product is the Go library getkin:kin-openapi. Any version prior to 0.148.0 is vulnerable; versions 0.148.0 and later include the fix.

Risk and Exploitability

The CVSS score is 7.5 and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. A remote unauthenticated client can trigger the flaw by sending an HTTP request with a YAML body containing .nan, .inf, or -.inf to an operation that has a numeric constraint. The exploitation requires network access to the target service and can be performed without authentication, leading to denial of service or application termination depending on the server implementation.

Generated by OpenCVE AI on October 16, 2026 at 20:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade kin-openapi to version 0.148.0 or newer.
  • Configure the YAML parser to reject .nan, .inf, and -inf values before passing data to kin-openapi.
  • Add comprehensive panic recovery in your application or run the validator in a separate process to isolate crashes.

Generated by OpenCVE AI on October 16, 2026 at 20:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rj39-cv6w-8wv7 kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
History

Fri, 23 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Getkin
Getkin kin-openapi
Vendors & Products Getkin
Getkin kin-openapi

Tue, 20 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

threat_severity

Important


Thu, 15 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
Weaknesses CWE-754
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Getkin Kin-openapi
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-20T02:46:20.849Z

Reserved: 2026-09-25T19:19:54.697Z

Link: CVE-2026-100352

cve-icon Vulnrichment

Updated: 2026-10-20T02:46:16.042Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T16:17:31.307

Modified: 2026-10-20T03:17:11.190

Link: CVE-2026-100352

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T15:54:25Z

Links: CVE-2026-100352 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:00:16Z

Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions