{"id":"GO-2025-3749","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.","aliases":["BIT-golang-2025-22874","CVE-2025-22874"],"modified":"2026-03-17T04:52:40.061212Z","published":"2025-06-11T16:23:50Z","related":["CGA-34c6-9hxp-c72p","RHSA-2025:10676","RHSA-2025:10677"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-3749","review_status":"REVIEWED"},"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"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.24.0-0"},{"fixed":"1.24.4"}]}],"ecosystem_specific":{"imports":[{"path":"crypto/x509","symbols":["Certificate.Verify"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3749.json"}}],"schema_version":"1.7.5","credits":[{"name":"Krzysztof Skrzętnicki (@Tener) of Teleport"}]}