CVE-2025-58187 Details
Description
Due to the design of the name constraint checking algorithm, the processing time of some inputs scale non-linearly with respect to the size of the certificate. This affects programs which validate arbitrary certificate chains.
A vulnerability exists in the Go programming language's standard library, specifically in the 'crypto/x509' package, prior to version 1.24.9 and between versions 1.25.0 and 1.25.3. The issue arises from the name constraint checking algorithm, which can lead to quadratic complexity in processing times for certain inputs, scaling non-linearly with the size of the certificate. This vulnerability impacts programs that validate arbitrary certificate chains.
Users can upgrade to Go versions 1.24.9 or 1.25.3 and later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 3, 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) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/10/08/1 | CVE | Mailing ListRelease Notes |
| https://go.dev/cl/709854 | [email protected] | Patch |
| https://go.dev/issue/75681 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2025-4007 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.24.9 >= 1.25.0, < 1.25.3 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CISA-ADP |
| Oct 30, 2025 | CVE Modified | CISA-ADP |
| Oct 29, 2025 | New CVE Received | [email protected] |