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

High severity, CVSS 7.5. EPSS: 0.5% probability of exploitation activity 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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Go Standard Library crypto/x509, from 1.24.0-0, before 1.24.4: fixed in 1.24.4

Affected products

Affected packages

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