CVE-2026-27138Panic in name constraint checking for malformed certificates in crypto/x509
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | golang-1.26 | Fix pending | UBUNTU-CVE-2026-27138 | |
| Ubuntu 26.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 26.04 | golang-1.25 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 26.04 | golang-1.26 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 25.10 | golang-1.24 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-27138 | |
| Ubuntu 25.10 | golang-1.25 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-27138 | |
| Ubuntu 24.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 24.04 | golang-1.25 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 24.04 | golang-1.26 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 22.04 | golang-1.24 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 22.04 | golang-1.25 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Ubuntu 22.04 | golang-1.26 | Under investigation | UBUNTU-CVE-2026-27138 | |
| Debian 14 | golang-1.26 | Fixed | 1.26.1-1 | DEBIAN-CVE-2026-27138 |
| Red Hat Enterprise Linux 10 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | golang-tests | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | go-toolset | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-bin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-misc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-race | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-src | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | golang-tests | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | go | Fixed | 1.25.8-r0 | ALPINE-CVE-2026-27138 |
| Alpine Linux 3.24 | rclone | Fixed | 1.73.5-r0 | ALPINE-CVE-2026-27138 |
| Go library | stdlib | Fixed | 1.26.1 | GO-2026-4600 |
What the vendor says
As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Go standard library crypto/x509: affected: 1.26.0-0 to before 1.26.1; fixed in
1.26.1
References
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk
- https://go.dev/issue/77953
- https://go.dev/cl/752183
- https://pkg.go.dev/vuln/GO-2026-4600
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.