Vulnerability Report: GO-2025-4013
- CVE-2025-58188, CVE-2025-58188
- Affects: crypto/x509
- Published: Oct 29, 2025
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.
Affected Packages
-
PathVersionsSymbols
-
before go1.24.8, from go1.25.0 before go1.25.2
Aliases
References
- https://go.dev/cl/709853
- https://go.dev/issue/75675
- https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- https://vuln.go.dev/ID/GO-2025-4013.json
Credits
- Jakub Ciolek
Feedback
See anything missing or incorrect?
Suggest an edit to this report.