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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 32.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Crypto/x509 — versions 0, 1.25.0
Weakness classification (CWE)
References
- go.dev/cl/709853 (Patch)
- go.dev/issue/75675 (Issue Tracking)
- groups.google.com/g/golang-announce/c/4Emdl2iQ_bI (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-4013 (Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/10/08/1 (Mailing List, Release Notes)