{"id":"CVE-2025-58188","published":"2025-10-29T22:10:14Z","modified":"2025-11-04T21:13:38Z","title":"Panic when validating certificates with DSA public keys in crypto/x509","vendor":"Go standard library","product":"crypto/x509","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00474,"percentile":0.3324,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/709853","tags":[]},{"url":"https://go.dev/issue/75675","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4013","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1","tags":[]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.65},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/x509","versions":["< 1.24.8",">= 1.25.0, < 1.25.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-10-30T14:23:42.371985Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.24.8",">=1.25.0, <1.25.2"],"patched":["1.24.8","1.25.2"],"from":["GO-2025-4013"],"provenance":"source"}],"summary":{"text":"The flaw is a panic in the crypto/x509 package of the Go standard library, which occurs when certificate chain validation encounters a DSA public key because the code performs an interface cast that assumes the key implements the Equal method. An attacker who can get a program that validates arbitrary certificate chains to process a certificate containing a DSA public key can crash it, with no authentication, user interaction, or special configuration required beyond that exposure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:33Z"},"euvd":{"id":"EUVD-2025-36732","exploited":false,"provenance":"source"}}