GO-2026-4600
Panic in name constraint checking for malformed certificates in crypto/x509
At a glance
- Published
- Updated
- CVE
- CVE-2026-27138
- Aliases
- BIT-golang-2026-27138
Description
Certificate verification can panic when a certificate in the chain has an empty DNS name and another certificate in the chain has excluded name constraints. This can crash programs that are either directly verifying X.509 certificate chains, or those that use TLS.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 1.26.0-0, fixed 1.26.1 |
References
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk WEB
- https://go.dev/issue/77953 REPORT
- https://go.dev/cl/752183 FIX
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |