What’s Vulnerable › Vulnerabilities

CVE-2026-27138: Panic in name constraint checking for malformed certificates in crypto/x509

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 products

How to fix

Upgrade to a fixed version: Go Stdlib 1.26.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27138 or the next vulnerability affects your stack