What’s Vulnerable › Vulnerabilities

CVE-2025-58188: Panic when validating certificates with DSA public keys in crypto/x509

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

How to fix

Upgrade to a fixed version: Go 1.24.8, 1.25.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-58188 or the next vulnerability affects your stack