Vulnerability in Golang Go
CVE-2025-58188
Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method. This affects programs which validate arbitrary certificate chains.
Vulnerability class: Improper Certificate Validation
EPSS: 0.004 (28.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Golang Go
- Go Standard Library Crypto/x509 — versions 0, 1.25.0
Weakness classification (CWE)
References
- security@golang.org (Patch)
- security@golang.org (Issue Tracking)
- security@golang.org (Mailing List, Release Notes)
- security@golang.org (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Release Notes)
Frequently asked questions
- What is CVE-2025-58188?
- CVE-2025-58188 is a high-severity vulnerability in Golang Go, classified under Improper Certificate Validation. CVSS score: 7.5/10. Published 2025-10-29.
- How severe is CVE-2025-58188?
- High severity. CVSS v3 base score is 7.5 out of 10.