CVE-2025-22874
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
Published: Jun 11, 2025Updated: Jun 12, 2025 Sources: CVE List NVD BDU
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:HIntegrityHigh
A:NAvailabilityNone
Affected Products
Go standard library
oss-project·USaka golang standard library, crypto/x509, net/http, html/template
ООО «Ред Софт»
commercial·RUaka red soft
The Go Project
oss-projectaka crypto, go, golang-google-protobuf
ООО «КНС ГРУПП»
commercial·RUaka кнс групп
Exploitability
Official Patch Available
References
https://go.dev/cl/670375
go.dev
https://go.dev/issue/73612
go.dev
https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A
groups.google.com
and 6 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-22874 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
