{"id":"CVE-2025-22874","published":"2025-06-11T16:42:52Z","modified":"2025-06-16T20:26:53Z","title":"Usage of ExtKeyUsageAny disables policy validation in crypto/x509","vendor":"Go standard library","product":"crypto/x509","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00376,"percentile":0.32448,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/670375","tags":[]},{"url":"https://go.dev/issue/73612","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-3749","tags":[]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.49},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/x509","versions":[">= 1.24.0-0, < 1.24.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-11T17:45:40.672701Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":[">=1.24.0-0, <1.24.4"],"patched":["1.24.4"],"from":["GO-2025-3749"],"provenance":"source"}],"summary":{"text":"The flaw lies in the crypto/x509 package of the Go standard library, where calling Verify with a VerifyOptions.KeyUsages list containing ExtKeyUsageAny unintentionally disables policy validation. An attacker can exploit this over the network without authentication or user interaction, but only against certificate chains that contain policy graphs, which are uncommon.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:52Z"},"euvd":{"id":"EUVD-2025-18136","exploited":false,"provenance":"source"}}