CVE-2025-22874

Usage of ExtKeyUsageAny disables policy validation in crypto/x509

High · published June 11, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
30.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00374 · 30.2th percentile
Published
2025-06-11T16:42Z
EPSS history
Timeline
  • 11 JUN 16:42Z
    Usage of ExtKeyUsageAny disables policy validation in crypto/x509
    cvelistv5