7.5
High
CVE-2025-58188 Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that…
Description
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| crypto/x509 1.25 | 1.25.0 → < 1.25.2 | 1.25.2 |
| crypto/x509 1.24 | earliest → < 1.24.8 | 1.24.8 |
References
- go.dev go.dev
- go.dev go.dev
- groups.google.com groups.google.com
- pkg.go.dev pkg.go.dev
Timeline
- Published
- Last modified
Other CVEs of crypto/x509
The 15 CVEs of crypto/x509 →
CVE-2026-111943
On most platforms, Go uses the given system root certificates
6.8
Medium
CVE-2026-27145
(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name…
6.5
Medium
CVE-2026-32280
During chain building, the amount of work that is done is not correctly limited when a large number of intermediate…
7.5
High
CVE-2026-32281
Validating certificate chains which use policies is unexpectedly inefficient when certificates in the chain contain a…
7.5
High