CVE-2025-58185
5.3medium
Parsing DER payload can cause memory exhaustion in encoding/asn1
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.58% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2025-4011BIT-GOLANG-2025-58185
Description
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| encoding/asn1 | before 1.24.8, from 1.25.0 before 1.25.2 | CVE List |
| stdlib (Go) | before 1.24.8, from 1.25.0 before 1.25.2 | Go Vulnerability Database |
| golang go | before 1.24.8, from 1.25.0 before 1.25.2 | NVD |
| golang (Bitnami) | before 1.24.8, from 1.25.0 before 1.25.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
NVD (es)
Analizar una carga útil DER elaborada maliciosamente podría asignar grandes cantidades de memoria, causando agotamiento de memoria.
References
| https://go.dev/issue/75671 | issue-tracking, report | |
| https://go.dev/cl/709856 | fix, patch | |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2025-4011 | advisory, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | discussion, mailing-list, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-58185 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58185 changed 2025-11-04 | CVE Terms of Use |
| Go Vulnerability Database | GO-2025-4011 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2025-58185 changed 2026-10-08 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-58185 changed 2026-09-08 | Apache-2.0 |