CVE-2025-22874
HIGH7.5EPSS 0.08%Usage of ExtKeyUsageAny disables policy validation in crypto/x509
Published: 6/11/2025Modified: 4/28/2026
Description
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 packages (3)
- Bitnami/golang>= 1.24.0-0, < 1.24.4
- Debian/golang-1.24from 0, < 1.24.4-1
- Go/stdlib>= 1.24.0-0, < 1.24.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |