6.5medium
Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2025-4175BIT-GOLANG-2025-61727
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crypto/x509 | before 1.24.11, from 1.25.0 before 1.25.5 | CVE List |
| stdlib (Go) | before 1.24.11, from 1.25.0 before 1.25.5 | Go Vulnerability Database |
| golang go | before 1.24.11, from 1.25 before 1.25.5 | NVD |
| golang (Bitnami) | before 1.24.11, from 1.25.0 before 1.25.5 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una restricción de subdominio excluido en una cadena de certificados no restringe el uso de SANs comodín en el certificado hoja. Por ejemplo, una restricción que excluye el subdominio test.example.com no impide que un certificado hoja reclame el SAN *.example.com.
References
| https://go.dev/cl/723900 | fix, patch | |
| https://go.dev/issue/76442 | issue-tracking, report | |
| https://groups.google.com/g/golang-announce/c/8FJoBkPddm4 | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2025-4175 | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-61727 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-61727 changed 2025-12-03 | CVE Terms of Use |
| Go Vulnerability Database | GO-2025-4175 changed 2026-05-15 | CC-BY-4.0 |
| NVD | CVE-2025-61727 changed 2026-10-18 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2025-61727 changed 2026-09-08 | Apache-2.0 |