blob: ae824cd9b6215b818cf93fe5b5d23fa752bf078c [file]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2025-58188"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Panic when validating certificates with DSA public keys in crypto/x509",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "Go standard library",
"product": "crypto/x509",
"collectionURL": "https://pkg.go.dev",
"packageName": "crypto/x509",
"versions": [
{
"version": "0",
"lessThan": "1.24.8",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.25.0",
"lessThan": "1.25.2",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "alreadyInChain"
},
{
"name": "Certificate.Verify"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-248: Uncaught Exception"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/709853"
},
{
"url": "https://go.dev/issue/75675"
},
{
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
},
{
"url": "https://pkg.go.dev/vuln/GO-2025-4013"
}
],
"credits": [
{
"lang": "en",
"value": "Jakub Ciolek"
}
]
}
}
}