CVE-2025-58188

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedOct 29, 2025
First seenOct 29, 2025
Weakness typeCWE-248CWE-248

How to fix

Update
  • golang go1.24.8, 1.25.2 or later
  • stdlib1.24.8, 1.25.2 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.24.8, 1.25.0 ≤ v < 1.25.21.24.8, 1.25.2
stdlibGov < 1.24.8, 1.25.0 ≤ v < 1.25.21.24.8, 1.25.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.