{"id":"CVE-2025-58188","revision":"a57828f6ebf247e78397754c43ace96b","records":[{"revision":"a57828f6ebf247e78397754c43ace96b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-58188","aliases":[],"title":"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.","state":0,"publishedAt":"2025-10-29T22:10:14.143+00:00","modifiedAt":"2025-11-04T21:13:38.109+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"crypto/x509","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"crypto/x509\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"crypto/x509\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.24.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.25.0\",\n                            \"lessThan\": \"1.25.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"alreadyInChain\"\n                        },\n                        {\n                            \"name\": \"Certificate.Verify\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/cl/709853","https://go.dev/issue/75675","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","https://pkg.go.dev/vuln/GO-2025-4013"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-58188","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-58188","identifiers":["CVE-2025-58188"]},"retained":false,"historicalAffected":[]}],"coverage":[]}