Vulnerability in Golang Go
CVE-2025-61727
An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 23.5th 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/cl/723900 (Patch)
- go.dev/issue/76442 (Issue Tracking)
- groups.google.com/g/golang-announce/c/8FJoBkPddm4 (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-4175 (Vendor Advisory)