{"id":"CVE-2026-100354","published":"2026-10-15T16:02:00Z","modified":"2026-10-15T18:31:51Z","title":"kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash","vendor":"getkin","product":"kin-openapi","tier":"tail","description":{"text":"kin-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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00659,"percentile":0.46336,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/getkin/kin-openapi/security/advisories/GHSA-g8cf-rcjf-c8cf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkin/kin-openapi/releases/tag/v0.149.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":9.27},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"getkin","affectedVersions":[{"vendor":"getkin","product":"kin-openapi","versions":["< 0.149.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-15T18:31:31.817575Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/getkin/kin-openapi","vulnerableRanges":["<0.149.0"],"patched":["0.149.0"],"from":["GHSA-g8cf-rcjf-c8cf","GO-2026-6785"],"provenance":"source"}],"summary":{"text":"The kin-openapi Go library, which handles OpenAPI files, fails to detect cycles in runtime request, response, and direct schema validation when allOf, anyOf, or oneOf chains refer back to an ancestor schema, leading to unbounded recursion. An unauthenticated remote attacker who can send a request or response that reaches the affected schema, with no user interaction or special configuration required, can trigger a fatal stack overflow that crashes the entire process, including unrelated requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:23Z"},"euvd":{"id":"EUVD-2026-102162","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-getkin-kin-openapi-cve-2026-100349","parents":[{"from":"CVE-2026-100349","to":"CVE-2026-100354","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openapi3filter/req_resp_decoder.go"],"commits":["https://github.com/getkin/kin-openapi/commit/f5441d67f855ed34d975b3b85665764644ab1459","https://github.com/getkin/kin-openapi/commit/9245cef66c840e27a08409a8a5cd0ee930c5bcff"],"basis":"shared function","functions":["decodeStyledParameter"]}]}]}}