CVE-2025-58187: Quadratic complexity when checking name constraints in crypto/x509
Vulnerability summary
CVE-2025-58187 is a high (CVSS 7.5) Inefficient Algorithmic Complexity vulnerability in go standard library crypto/x509. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.9% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 105Showing 100 of 106.
Timeline
- 29-10-2025PublishedVulnerability first disclosed.
- 20-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
35%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.41% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard199 products
- age< 1.2.1-r8
- age-fips< 1.2.1-r8
- amass< 5.0.1-r1
- amazon-cloudwatch-agent-operator-fips< 3.3.0-r1
- amazon-cloudwatch-agent-operator-fips-compat< 3.3.0-r1
Alpine1 product
- go≥ 1.25.0, < 1.24.8-r0 | ≥ 1.25.0, < 1.25.2-r0
2 vendors · 200 products · Showing 200 of 2629
References
19 linksShow all 19 references
- pkg.go.devWEB