CVE-2025-58185
Moderate
Parsing DER payload can cause memory exhaustion in encoding/asn1
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Exploit probability
0.5%
Published
October 29, 2025
Required by
Not available
Last source change
May 15, 2026
02 / AFFECTED SOFTWARE
Affected packages
149 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2025-58185
View original source
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Open Source Vulnerabilities
GO-2025-4011
View original source
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
Open Source Vulnerabilities
BIT-golang-2025-58185
View original source
Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.
05 / REFERENCES
Further evidence
- http://www.openwall.com/lists/oss-security/2025/10/08/1
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58185.json
- https://go.dev/cl/709856
- https://go.dev/issue/75671
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- https://nvd.nist.gov/vuln/detail/CVE-2025-58185
- https://pkg.go.dev
- https://pkg.go.dev/vuln/GO-2025-4011