You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
crypto/x509: excluded DNS constraints not properly applied to wildcard domains #78332
When verifying a certificate chain containing excluded DNS constraints, these
constraints are not correctly applied to wildcard DNS SANs which use a different
case than the constraint.
For example, if a certificate contains the DNS name "*.example.com" and the
excluded DNS name "EXAMPLE.COM", the constraint will not be applied.
This only affects validation of otherwise trusted certificate chains, issued by
a root CA in the VerifyOptions.Roots CertPool, or in the system certificate
pool.
This issue only affects Go 1.26.
Thank you to Riyas from Saintgits College of Engineering, k1rnt, @1seal for reporting this issue.
changed the title [-]security: fix CVE-2026-33810[/-][+]crypto/x509: excluded DNS constraints not properly applied to wildcard domains[/+]on Apr 7, 2026
Activity
dmitshur commentedon Mar 25, 2026
CC @golang/security, @golang/release.
neild commentedon Mar 27, 2026
@gopherbot please backport to go1.26.
gopherbot commentedon Mar 27, 2026
Backport issue(s) opened: #78418 (for 1.26).
Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.
gopherbot commentedon Apr 7, 2026
Change https://go.dev/cl/763544 mentions this issue:
[release-branch.go1.26] crypto/x509: fix wildcard constraint map case sensitivity[release-branch.go1.26] crypto/x509: fix wildcard constraint map case…
[-]security: fix CVE-2026-33810[/-][+]crypto/x509: excluded DNS constraints not properly applied to wildcard domains[/+]gopherbot commentedon Apr 7, 2026
Change https://go.dev/cl/763763 mentions this issue:
crypto/x509: fix wildcard constraint map case sensitivitycrypto/x509: fix wildcard constraint map case sensitivity
[release-branch.go1.26] crypto/x509: fix wildcard constraint map case…
[release-branch.go1.26] crypto/x509: fix wildcard constraint map case…