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

PackageVersions
Go · stdlibintroduced 1.26.0-0, fixed 1.26.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database