Go Vulnerability Database
GO-2026-4600
Panic in name constraint checking for malformed certificates in crypto/x509
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | From 1.26.0-0 before 1.26.1 (fixed in 1.26.1) |