CVE-2025-22874: Go Standard Library crypto/x509

High severity, CVSS 7.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

Published 2025-06-11. Last modified 2026-06-17.