Vulnerability in Golang Go
CVE-2025-58187
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 35.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Crypto/x509 — versions 0, 1.25.0
Weakness classification (CWE)
References
- go.dev/issue/75681 (Issue Tracking)
- go.dev/cl/709854 (Patch)
- groups.google.com/g/golang-announce/c/4Emdl2iQ_bI (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-4007 (Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/10/08/1 (Mailing List, Release Notes)