Go Vulnerability Database
GO-2025-4013
Panic when validating certificates with DSA public keys in crypto/x509
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.24.8 (fixed in 1.24.8) From 1.25.0 before 1.25.2 (fixed in 1.25.2) |