Medium severity · published Dec 3, 2025
CVE-2025-61727
Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509
6.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CR
crypto/x509 · Go standard library
before 1.24.11; 1.25.0 before 1.25.5 · source: vendor
GO
GO · Golang
before 1.24.11; 1.25 before 1.25.5 · source: NVD
Affected product
CR
crypto/x509
Go standard library
More from crypto/x509
8.2
CVE-2026-33810
Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509
7.5
CVE-2026-32280
Unexpected work during chain building in crypto/x509
7.5
CVE-2026-32281
Inefficient policy validation in crypto/x509
7.5
CVE-2026-27137
Incorrect enforcement of email constraints in crypto/x509
7.5
CVE-2025-61729
Excessive resource consumption when printing error string for host certificate validation in crypto/x509