Resource exhaustion in Golang Go
CVE-2025-58185
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.005 (41.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 41.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Golang Go
- Go Standard Library Encoding/asn1 — versions 0, 1.25.0
Weakness classification (CWE)
References
- go.dev/issue/75671 (Issue Tracking)
- go.dev/cl/709856 (Patch)
- groups.google.com/g/golang-announce/c/4Emdl2iQ_bI (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-4011 (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Release Notes)
Frequently asked questions
- What is CVE-2025-58185?
- CVE-2025-58185 is a medium-severity vulnerability in Golang Go, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 5.3/10. Published 2025-10-29.
- How severe is CVE-2025-58185?
- Medium severity. CVSS v3 base score is 5.3 out of 10.