{"id":"GO-2025-4011","summary":"Parsing DER payload can cause memory exhaustion in encoding/asn1","details":"Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.","aliases":["BIT-golang-2025-58185","CVE-2025-58185"],"modified":"2026-05-15T10:59:06.939951417Z","published":"2025-10-29T21:50:00Z","related":["CGA-qhq7-cjqr-cgxq","RHSA-2026:7291","RHSA-2026:7385"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-4011","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://go.dev/issue/75671"},{"type":"FIX","url":"https://go.dev/cl/709856"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.24.8"},{"introduced":"1.25.0"},{"fixed":"1.25.2"}]}],"ecosystem_specific":{"imports":[{"symbols":["Unmarshal","UnmarshalWithParams","parseSequenceOf"],"path":"encoding/asn1"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-4011.json"}}],"schema_version":"1.7.5","credits":[{"name":"Jakub Ciolek"}]}