# CVE-2025-61727: Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-12-02T20:55:55.000Z
- Modified: 2026-10-18T17:10:00.110Z
- Also known as: GO-2025-4175, BIT-GOLANG-2025-61727
- Related: CGA-h5w2-2hch-h662, RHSA-2026:7070, RHSA-2026:7291, RHSA-2026:7385
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- crypto/x509: before 1.24.11; from 1.25.0 before 1.25.5
- stdlib (Go): before 1.24.11; from 1.25.0 before 1.25.5
- golang go: before 1.24.11; from 1.25 before 1.25.5
- golang (Bitnami): before 1.24.11; from 1.25.0 before 1.25.5

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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)

## Sources

- CVE List: [CVE-2025-61727](https://www.cve.org/CVERecord?id=CVE-2025-61727), CVE Terms of Use, modified 2025-12-03
- Go Vulnerability Database: [GO-2025-4175](https://pkg.go.dev/vuln/GO-2025-4175), CC-BY-4.0, modified 2026-05-15
- NVD: [CVE-2025-61727](https://nvd.nist.gov/vuln/detail/CVE-2025-61727), Public domain, modified 2026-10-18
- Bitnami Vulnerability Database: [BIT-GOLANG-2025-61727](https://osv.dev/vulnerability/BIT-GOLANG-2025-61727), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-61727 · Whole record: https://cve.day/CVE-2025-61727.json · Rebuilt by cve.day 2026-11-25T22:59:08.242Z
