Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/getkin/kin-openapi/commit/4487f198ab8be0c37d6ca72c54f5dca4dc2
- https://github.com/getkin/kin-openapi/releases/tag/v0.148.0
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
- https://github.com/getkin/kin-openapi/security/advisories/GHSA-rj39-cv6w-8wv7
FAQ
What is CVE-2026-100352?
CVE-2026-100352 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 apply...
How severe is CVE-2026-100352?
CVE-2026-100352 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-100352?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.