CVE-2025-58188

published 29 Oct 2025 · updated 16 Nov 2026

Panic when validating certificates with DSA public keys in crypto/x509

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.24.8 and 1.25.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.24.8, >=1.25.0 <1.25.21.24.8, 1.25.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-58188 severity on Zeptric[![CVE-2025-58188](https://zeptric.io/badge/cve/CVE-2025-58188.svg)](https://zeptric.io/cve/CVE-2025-58188)