Usage of ExtKeyUsageAny disables policy validation in crypto/x509
cve-program · CVE-2025-22874
PublishedCalling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Read the publisher's advisoryeuvd · EUVD-2025-18136
PublishedCalling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Read the publisher's advisorynvd · CVE-2025-22874
PublishedCalling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Read the publisher's advisoryosv · GO-2025-3749
PublishedCalling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-22874 · CVE overview and exploitation status
cve-program · CVE-2025-22874
- https://go.dev/cl/670375
- https://go.dev/issue/73612
- https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A
- https://pkg.go.dev/vuln/GO-2025-3749
euvd · EUVD-2025-18136
- https://go.dev/cl/670375
- https://go.dev/issue/73612
- https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A
- https://pkg.go.dev/vuln/GO-2025-3749
nvd · CVE-2025-22874
- https://go.dev/cl/670375
- https://go.dev/issue/73612
- https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A
- https://pkg.go.dev/vuln/GO-2025-3749
osv · GO-2025-3749
Related changes
Linked by CVE identifier- 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. · Advisory content revised · 15 Nov 2026
- Release 2026-02-08 · Tool release · 17 Feb 2026
- Release 2025-10-12 · Tool release · 17 Oct 2025
- Release 2025-09-21 · Tool release · 26 Sep 2025