CVE-2025-22874: Usage of ExtKeyUsageAny disables policy validation in crypto/x509
Vulnerability summary
CVE-2025-22874 is a high (CVSS 7.5) vulnerability in go standard library crypto/x509. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 31.4% 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 10 · Related 398Showing 100 of 399.
Timeline
- 11-06-2025PublishedVulnerability first disclosed.
- 16-06-2025Last modifiedVulnerability information updated.
Description
Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.37% 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 causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard199 products
- addon-resizer< 1.8.23-r6
- addon-resizer-compat< 1.8.23-r6
- addon-resizer-fips< 1.8.23-r6
- addon-resizer-fips-compat< 1.8.23-r6
- age< 1.2.1-r5
Alpine1 product
- go< 1.24.4-r0
2 vendors · 200 products · Showing 200 of 2477
References
10 links- go.dev/issue/73612REPORT