# CVE-2025-58185: Parsing DER payload can cause memory exhaustion in encoding/asn1

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-10-29T21:50:00.000Z
- Modified: 2026-10-08T10:10:00.227Z
- Also known as: GO-2025-4011, BIT-GOLANG-2025-58185
- Related: CGA-qhq7-cjqr-cgxq, RHSA-2026:7291, RHSA-2026:7385
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## Description

Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.

(As written by CVE List.)

## Affected

- encoding/asn1: before 1.24.8; from 1.25.0 before 1.25.2
- stdlib (Go): before 1.24.8; from 1.25.0 before 1.25.2
- golang go: before 1.24.8; from 1.25.0 before 1.25.2
- golang (Bitnami): before 1.24.8; from 1.25.0 before 1.25.2

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## 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)

## Sources

- CVE List: [CVE-2025-58185](https://www.cve.org/CVERecord?id=CVE-2025-58185), CVE Terms of Use, modified 2025-11-04
- Go Vulnerability Database: [GO-2025-4011](https://pkg.go.dev/vuln/GO-2025-4011), CC-BY-4.0, modified 2026-05-15
- NVD: [CVE-2025-58185](https://nvd.nist.gov/vuln/detail/CVE-2025-58185), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-GOLANG-2025-58185](https://osv.dev/vulnerability/BIT-GOLANG-2025-58185), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-58185 · Whole record: https://cve.day/CVE-2025-58185.json · Rebuilt by cve.day 2026-11-25T22:59:07.017Z
