PoC Monitor
← All CVEs
CVE-2025-22874published 11 Jun 2025 16:42 UTCData: JSON · API

Go standard library crypto/x509

Usage of ExtKeyUsageAny disables policy validation in crypto/x509

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-295
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Go standard library crypto/x509
  • >= 1.24.0-0, < 1.24.4

Fixed in 1.24.4

Mitigation

Upgrade crypto/x509 to 1.24.4 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published11 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.