CVE-2025-22874 Details
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.
A vulnerability in the Go programming language's standard library, specifically in the crypto/x509 package, has been identified. This issue arises when the Verify function is called with VerifyOptions.KeyUsages that include ExtKeyUsageAny, which unintentionally disables policy validation. The vulnerability affects certificate chains containing policy graphs, a rare occurrence.
Users can upgrade to Go versions 1.24.4 or 1.23.10, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 11, 2025CISA-ADP
Assessed Jun 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/670375 | [email protected] | Source CodeVendor |
| https://go.dev/issue/73612 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A | [email protected] | AdvisoryMailing ListRemedyVendor |
| https://pkg.go.dev/vuln/GO-2025-3749 | [email protected] | AdvisoryVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| golang crypto/x509 | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | CVE Modified | CISA-ADP |
| Jun 11, 2025 | New CVE Received | [email protected] |
Volerion