Skip to main content
← All vulnerabilities
CVE-2025-22874GO-2025-3749BIT-GOLANG-2025-22874

Usage of ExtKeyUsageAny disables policy validation in crypto/x509

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • crypto/x509

    From 1.24.0-0 · fixed in 1.24.4

  • stdlibGo

    From 1.24.0-0 · fixed in 1.24.4

References 4

go.dev

groups.google.com

pkg.go.dev