CVE-2026-100354

NameCVE-2026-100354
Descriptionkin-openapi is a Go project for handling OpenAPI files. Prior to 0.149.0, runtime request, response, and direct schema validation lacks cycle detection when an allOf, anyOf, or oneOf chain refers back to an ancestor schema, even though loading and document validation accept the circular reference. A request or response that reaches the affected schema causes unbounded recursion in Schema.visitJSON or openapi3filter.decodeValue and exhausts the Go goroutine stack. The resulting fatal stack overflow cannot be caught with recover and terminates the entire process, including unrelated requests. This issue is fixed in version 0.149.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-getkin-kin-openapi (PTS)bookworm0.110.0-1fixed
trixie0.124.0-1fixed
forky, sid0.135.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-getkin-kin-openapisource(unstable)(not affected)

Notes

- golang-github-getkin-kin-openapi <not-affected> (Only affects 0.140 and later)
https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf
https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff (v0.149.0)

Search for package or bug name: Reporting problems