GO-2025-4013

Source
https://pkg.go.dev/vuln/GO-2025-4013
Import Source
https://vuln.go.dev/ID/GO-2025-4013.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2025-4013
Aliases
Published
2025-10-29T21:50:08Z
Modified
2025-11-06T13:59:52.252801Z
Summary
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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2025-4013",
    "review_status": "REVIEWED"
}
References
Credits
    • Jakub Ciolek

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.8
Introduced
1.25.0
Fixed
1.25.2

Ecosystem specific

{
    "imports": [
        {
            "path": "crypto/x509",
            "symbols": [
                "Certificate.Verify",
                "alreadyInChain"
            ]
        }
    ]
}