Vulnerability details

CVE-2025-22874

Go standard library crypto/x509

Usage of ExtKeyUsageAny disables policy validation in crypto/x509

CVSS 3.1
7.5High

Official 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 scores

ScoreVersionSourceVector
7.5High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersionsSource
Go standard library crypto/x509 1.24.0-0 ≤ v < 1.24.4 CVEProject cvelistV5 (CNA)

References and advisories

4
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-06-11
Last updated
2025-06-16
State
Published
Assigner (CNA)
Go

Exploit prediction (EPSS)

0.37%
Probability of exploitation in 30 days
31.8%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Partial

Weaknesses (CWE)

  • —