Description
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. 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.
Problem types
CWE-295: Improper Certificate Validation
Product status
1.26.0-0 (semver) before 1.26.2
Credits
Riyas from Saintgits College of Engineering
k1rnt
@1seal
References
www.openwall.com/lists/oss-security/2026/04/19/4
www.openwall.com/lists/oss-security/2026/04/20/1
groups.google.com/g/golang-announce/c/0uYbvbPZRWU