We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-22874

Usage of ExtKeyUsageAny disables policy validation in crypto/x509



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.

Reserved 2025-01-08 | Published 2025-06-11 | Updated 2025-06-11 | Assigner Go

Problem types

CWE-295: Improper Certificate Validation

Product status

Default status
unaffected

Any version before 1.23.10
affected

1.24.0-0 before 1.24.4
affected

Credits

Krzysztof Skrzętnicki (@Tener) of Teleport

References

go.dev/cl/670375

go.dev/issue/73612

groups.google.com/g/golang-announce/c/ufZ8WpEsA3A

pkg.go.dev/vuln/GO-2025-3749

cve.org (CVE-2025-22874)

nvd.nist.gov (CVE-2025-22874)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-22874

Support options

Helpdesk Chat, Email, Knowledgebase