{"id":"GO-2026-5972","summary":"Enforce maximum recursion depth in encoding/asn1","details":"Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.","aliases":["BIT-golang-2026-33818","CVE-2026-33818"],"modified":"2026-11-14T13:12:12.932738072Z","published":"2026-08-13T21:43:54Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5972"},"references":[{"type":"REPORT","url":"https://go.dev/issue/80405"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI"},{"type":"FIX","url":"https://go.dev/cl/814980"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.13"},{"introduced":"1.26.0-0"},{"fixed":"1.26.6"},{"introduced":"1.27.0-0"},{"fixed":"1.27.0-rc.3"}]}],"ecosystem_specific":{"imports":[{"symbols":["Unmarshal","UnmarshalWithParams","parseField","parseSequenceOf"],"path":"encoding/asn1"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5972.json"}}],"schema_version":"1.9.0","credits":[{"name":"Marwan Atia (marwansamir688@gmail.com) "}]}