{"schema_version":"1.3.1","id":"GO-2025-3749","modified":"2025-06-16T20:08:41Z","published":"2025-06-11T16:23:50Z","aliases":["CVE-2025-22874"],"summary":"Usage of ExtKeyUsageAny disables policy validation in crypto/x509","details":"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.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0-0"},{"fixed":"1.24.4"}]}],"ecosystem_specific":{"imports":[{"path":"crypto/x509","symbols":["Certificate.Verify"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/670375"},{"type":"REPORT","url":"https://go.dev/issue/73612"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A"}],"credits":[{"name":"Krzysztof Skrzętnicki (@Tener) of Teleport"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-3749","review_status":"REVIEWED"}}