CVE-2025-61727 Details
Description
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.
A vulnerability exists in the Go programming language's standard library, specifically in the crypto/x509 package, prior to version 1.24.11 and between versions 1.25.0 and 1.25.5. The issue arises because an excluded subdomain constraint in a certificate chain does not prevent the use of wildcard Subject Alternative Names (SANs) in the leaf certificate. For instance, a constraint that excludes the subdomain test.example.com does not stop a leaf certificate from using the SAN *.example.com.
Users can upgrade to Go versions 1.24.11 or 1.25.5 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 Dec 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) |
|---|---|---|
| https://go.dev/cl/723900 | [email protected] | Patch |
| https://go.dev/issue/76442 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/8FJoBkPddm4 | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2025-4175 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.24.11 >= 1.25, < 1.25.5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 18, 2025 | Initial Analysis | [email protected] |
| Dec 3, 2025 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | New CVE Received | [email protected] |