Vulnerability · Published Mar 6, 2026 · Assigned by Go

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

Medium 5.9

In plain English

A medium-severity security flaw in crypto/x509 from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.4%top 67.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24go1.25.8-r0ALPINE-CVE-2026-27138
Alpine:v3.24rclone1.73.5-r0ALPINE-CVE-2026-27138
Debian:14golang-1.261.26.1-1DEBIAN-CVE-2026-27138
Gostdlib1.26.1GO-2026-4600
Ubuntu:22.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-27138
Ubuntu:24.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-27138
Ubuntu:25.10golang-1.24no fix listedUBUNTU-CVE-2026-27138
Ubuntu:26.04:LTSgolang-1.24no fix listedUBUNTU-CVE-2026-27138
Ubuntu:22.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-27138
Ubuntu:24.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-27138
Ubuntu:25.10golang-1.25no fix listedUBUNTU-CVE-2026-27138
Ubuntu:26.04:LTSgolang-1.25no fix listedUBUNTU-CVE-2026-27138
Ubuntu:22.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-27138
Ubuntu:24.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-27138
Ubuntu:26.04:LTSgolang-1.26no fix listedUBUNTU-CVE-2026-27138
Ubuntu:26.10golang-1.26no fix listedUBUNTU-CVE-2026-27138

Affected products (as reported)

VendorProductVersions
Go standard library crypto/x509 1.26.0-0 – before 1.26.1

References