Vulnerability Report: GO-2025-4175
- CVE-2025-61727
- Affects: crypto/x509
- Published: Dec 02, 2025
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.
Affected Packages
-
PathVersionsSymbols
-
before go1.24.11, from go1.25.0 before go1.25.5
Aliases
References
- https://go.dev/cl/723900
- https://go.dev/issue/76442
- https://groups.google.com/g/golang-announce/c/8FJoBkPddm4
- https://vuln.go.dev/ID/GO-2025-4175.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.