Vulnerability in Go Standard Library Crypto/x509
CVE-2025-22874
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.004 (28.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 28.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.000
Affected products
- Go Standard Library Crypto/x509 — versions 1.24.0-0
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2025-22874?
- CVE-2025-22874 is a high-severity vulnerability in Go Standard Library Crypto/x509, classified under CWE-295: IMPROPER CERTIFICATE VALIDATION. CVSS score: 7.5/10. Published 2025-06-11.
- How severe is CVE-2025-22874?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-22874 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.