PatchSiren cyber security CVE debrief
CVE-2026-100352 getkin CVE debrief
An attacker can cause a panic in the kin-openapi library by sending an HTTP request with a YAML body containing `.nan`, `.inf`, or `-.inf` when the schema declares a numeric constraint. This issue arises from the library's handling of NaN and Inf values in OAS 3.1 specs, which bypasses built-in guards and leads to a runtime panic. The vulnerability affects Go applications using the kin-openapi library, particularly those handling YAML input or using OAS 3.1 specs. Defenders responsible for these applications should assess exposure and prioritize updating to a fixed version. The issue is caused by the library's use of `santhosh-tekuri/jsonschema/v6` v6.0.2 for OAS 3.1 specs without
- Vendor
- getkin
- Product
- github.com/getkin/kin-openapi
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-15
- Original CVE updated
- 2026-10-15
- Advisory published
- 2026-10-15
- Advisory updated
- 2026-10-15
Who should care
Defenders responsible for Go applications using the kin-openapi library, particularly those handling YAML input or using OAS 3.1 specs, should assess exposure and prioritize updating to a fixed version.
Why it matters
Defenders should care about CVE-2026-100352 because it allows an attacker to cause a panic in the kin-openapi library, potentially disrupting service. The issue arises from the library's handling of NaN and Inf values in YAML input for OAS 3.1 specs. Roles responsible for Go application security, particularly those handling YAML input or using OAS 3.1 specs, should assess exposure and prioritize updating to version 0.148.0 or later of the kin-openapi library.
- Potential service disruption via panic
- Increased risk of denial-of-service attacks
- Need for verification of input data handling
- Priority for updating to a fixed library version
Technical summary
The kin-openapi library does not properly handle NaN and Inf values in YAML input for OAS 3.1 specs, leading to a panic when these values are used in numeric constraints. This occurs because the library uses `santhosh-tekuri/jsonschema/v6` v6.0.2 for OAS 3.1 specs without applying the same guard against NaN and Inf values as in its built-in schema visitor. As a result, a silent parse failure occurs, and a subsequent panic happens when comparing the nil `*big.Rat`. An attacker can exploit this by sending an HTTP request with `Content-Type: application/yaml` (or `application/x-yaml`) and a YAML body containing `.nan`, `.inf`, or `-.inf`. The `YamlBodyDecoder` decodes those tokens into `math.NaN()` / `math.Inf(±1)
Defensive priority
Defenders should prioritize verifying and updating to version 0.148.0 or later of the kin-openapi library to prevent potential service disruption via panic.
Recommended defensive actions
- Verify and update to version 0.148.0 or later of the kin-openapi library
- Review and validate input data to prevent NaN and Inf values from propagating to the vulnerable code path
- Implement additional monitoring and logging to detect potential exploitation attempts
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The issue is caused by the library's use of `santhosh-tekuri/jsonschema/v6` v6.0.2 for OAS 3.1 specs without applying the same guard against NaN and Inf values as in its built-in schema visitor. This leads to a silent parse failure and a subsequent panic when comparing the nil *big.Rat.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-100352 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-100352
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-100352 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-100352
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/Go/GHSA-rj39-cv6w-8wv7.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc25270e
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/getkin/kin-openapi
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/getkin/kin-openapi/releases/tag/v0.148.0
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.