{"id":"CVE-2025-61727","published":"2025-12-03T19:37:15Z","modified":"2025-12-03T22:06:17Z","title":"Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509","vendor":"Go standard library","product":"crypto/x509","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00287,"percentile":0.13873,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/723900","tags":[]},{"url":"https://go.dev/issue/76442","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/8FJoBkPddm4","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4175","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":2.77},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/x509","versions":["< 1.24.11",">= 1.25.0, < 1.25.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-03T22:06:13.958433Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.24.11",">=1.25.0, <1.25.5"],"patched":["1.24.11","1.25.5"],"from":["GO-2025-4175"],"provenance":"source"}],"summary":{"text":"The flaw is in Go's standard library component crypto/x509, where excluded DNS name constraints in a certificate chain are not correctly applied when verifying wildcard subject alternative names in the leaf certificate. An attacker can present a leaf certificate claiming a wildcard SAN such as *.example.com even though an intermediate constraint excludes a subdomain like test.example.com, and the attack requires only network access with no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:11Z"},"euvd":{"id":"EUVD-2025-201106","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-61724","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-61725","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-58187","published":"2025-10-29","fixed":"1.25.3","kev":false,"link":{"from":"CVE-2025-58187","to":"CVE-2025-61727","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.9","toFixed":"1.24.11","daysApart":35}]}},{"cve":"CVE-2025-61727","published":"2025-12-03","fixed":"1.25.5","kev":false},{"cve":"CVE-2025-61729","published":"2025-12-02","fixed":"1.25.5","kev":false},{"cve":"CVE-2025-61726","published":"2026-01-28","fixed":"1.25.6","kev":false,"link":{"from":"CVE-2025-61727","to":"CVE-2025-61726","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.11","toFixed":"1.24.12","daysApart":56}]}},{"cve":"CVE-2025-61728","published":"2026-01-28","fixed":"1.25.6","kev":false,"link":{"from":"CVE-2025-61727","to":"CVE-2025-61728","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.11","toFixed":"1.24.12","daysApart":56}]}},{"cve":"CVE-2025-61730","published":"2026-01-28","fixed":"1.25.6","kev":false,"link":{"from":"CVE-2025-61727","to":"CVE-2025-61730","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.11","toFixed":"1.24.12","daysApart":56}]}}],"package":"Go:stdlib"}}