{"id":"CVE-2025-58185","revision":"33d34c8ebaaa43efac0267d69f557234","records":[{"revision":"33d34c8ebaaa43efac0267d69f557234","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-58185","aliases":[],"title":"Parsing DER payload can cause memory exhaustion in encoding/asn1","description":"Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.","state":0,"publishedAt":"2025-10-29T22:10:13.682+00:00","modifiedAt":"2025-11-04T21:13:34.163+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"encoding/asn1","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"encoding/asn1\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"encoding/asn1\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.24.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.25.0\",\n                            \"lessThan\": \"1.25.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"parseSequenceOf\"\n                        },\n                        {\n                            \"name\": \"Unmarshal\"\n                        },\n                        {\n                            \"name\": \"UnmarshalWithParams\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/issue/75671","https://go.dev/cl/709856","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","https://pkg.go.dev/vuln/GO-2025-4011"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-58185","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-58185","identifiers":["CVE-2025-58185"]},"retained":false,"historicalAffected":[]}],"coverage":[]}