CVE-2025-58187

High

Description

Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.

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

How to fix

Update
  • golang go1.24.9, 1.25.3 or later
  • stdlib1.24.9, 1.25.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.24.9, 1.25.0 ≤ v < 1.25.31.24.9, 1.25.3
stdlibGov < 1.24.9, 1.25.0 ≤ v < 1.25.31.24.9, 1.25.3

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.