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 subdomain constraint doesn't preclude wildcard SAN (CVE-2025-61727) #76442
A certificate with the excluded constraint foo.example.com should preclude a leaf with the SAN *.example.com. This unfortunately is not well defined in the X.509 specifications, so slipped through.
We landed a different fix for this than was backported (I actually meant to land this first, and then the follow-up, but it auto-submitted before I noticed). This can be closed now since there is nothing left to do for 1.26.
We landed a different fix for this than was backported (I actually meant to land this first, and then the follow-up, but it auto-submitted before I noticed). This can be closed now since there is nothing left to do for 1.26.
Activity
gopherbot commentedon Nov 24, 2025
Change https://go.dev/cl/723900 mentions this issue:
crypto/x509: excluded subdomain constraints preclude wildcard SANsrolandshoemaker commentedon Nov 25, 2025
@gopherbot please open backport issues, this is a minor security bug.
gopherbot commentedon Nov 25, 2025
Backport issue(s) opened: #76463 (for 1.24), #76464 (for 1.25).
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 Nov 25, 2025
Change https://go.dev/cl/724400 mentions this issue:
[release-branch.go1.25] crypto/x509: excluded subdomain constraints preclude wildcard SANsgopherbot commentedon Nov 25, 2025
Change https://go.dev/cl/724401 mentions this issue:
[release-branch.go1.24] crypto/x509: excluded subdomain constraints preclude wildcard SANs[release-branch.go1.25] crypto/x509: excluded subdomain constraints p…
[release-branch.go1.24] crypto/x509: excluded subdomain constraints p…
[-]crypto/x509: excluded subdomain constraint doesn't preclude wildcard SAN[/-][+]crypto/x509: excluded subdomain constraint doesn't preclude wildcard SAN (CVE-2025-61727)[/+]dmitshur commentedon Dec 2, 2025
@rolandshoemaker Checking on the status here, what is left to resolve this issue (for Go 1.26)? Thanks.
rolandshoemaker commentedon Dec 2, 2025
We landed a different fix for this than was backported (I actually meant to land this first, and then the follow-up, but it auto-submitted before I noticed). This can be closed now since there is nothing left to do for 1.26.
stapelberg commentedon Dec 3, 2025
Just for the record, the “different fix” is https://go.dev/cl/711421
Upgrade Go to 1.25.5 to fix crypto/x509 CVEs (#9073)
Upgrade Go to 1.25.5 to fix crypto/x509 CVEs (#9073)
[release-branch.go1.25] crypto/x509: excluded subdomain constraints p…
[release-branch.go1.25] crypto/x509: excluded subdomain constraints p…