Ubuntu CVE Tracker
UBUNTU-CVE-2026-39821
Details
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:16.04:LTS | golang-1.6 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | juju-core | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | lxd | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | containerd | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | google-guest-agent | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.10 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | lxd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | containerd | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.8 | All versions, no fix listed |
| Ubuntu:18.04:LTS | golang-1.9 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | golang-golang-x-net-dev | All versions before 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3 (fixed in 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3) |
| Ubuntu:Pro:18.04:LTS | google-guest-agent | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | adsys | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | containerd | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.14 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | google-guest-agent | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-1.16 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.18 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:20.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | golang-golang-x-net-dev | All versions before 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3 (fixed in 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3) |
| Ubuntu:Pro:20.04:LTS | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:20.04:LTS | lxd | All versions, no fix listed |
| Ubuntu:22.04:LTS | adsys | All versions, no fix listed |
| Ubuntu:22.04:LTS | containerd | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.17 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.18 | All versions before 1.18.1-1ubuntu1.3 (fixed in 1.18.1-1ubuntu1.3) |
| Ubuntu:22.04:LTS | golang-1.20 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.21 | All versions before 1.21.1-1~ubuntu22.04.4 (fixed in 1.21.1-1~ubuntu22.04.4) |
| Ubuntu:22.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.23 | All versions before 1.23.1-1~22.04.3 (fixed in 1.23.1-1~22.04.3) |
| Ubuntu:22.04:LTS | golang-1.24 | All versions before 1.24.13-2~22.04.2 (fixed in 1.24.13-2~22.04.2) |
| Ubuntu:22.04:LTS | golang-1.25 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-1.26 | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-golang-x-net | All versions before 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1 (fixed in 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1) |
| Ubuntu:22.04:LTS | google-guest-agent | All versions before 20250116.00-0ubuntu1~22.04.4 (fixed in 20250116.00-0ubuntu1~22.04.4) |
| Ubuntu:22.04:LTS | google-osconfig-agent | All versions before 20251028.00-0ubuntu2~22.04.1 (fixed in 20251028.00-0ubuntu2~22.04.1) |
| Ubuntu:Pro:22.04:LTS | golang-1.13 | All versions, no fix listed |
| Ubuntu:24.04:LTS | adsys | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.21 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.22 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.24 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.25 | All versions, no fix listed |
| Ubuntu:24.04:LTS | golang-1.26 | All versions, no fix listed |
| Ubuntu:24.04:LTS | google-guest-agent | All versions, no fix listed |
| Ubuntu:24.04:LTS | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:Pro:24.04:LTS | containerd | All versions, no fix listed |
| Ubuntu:Pro:24.04:LTS | golang-golang-x-net | All versions, no fix listed |
| Ubuntu:26.10 | adsys | All versions, no fix listed |
| Ubuntu:26.10 | containerd | All versions, no fix listed |
| Ubuntu:26.10 | golang-1.26 | All versions, no fix listed |
| Ubuntu:26.10 | golang-1.27 | All versions, no fix listed |
| Ubuntu:26.10 | golang-golang-x-net | All versions, no fix listed |
| Ubuntu:26.10 | google-guest-agent | All versions, no fix listed |
| Ubuntu:26.10 | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:26.04:LTS | adsys | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.23 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.24 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.25 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-1.26 | All versions, no fix listed |
| Ubuntu:26.04:LTS | golang-golang-x-net | All versions, no fix listed |
| Ubuntu:26.04:LTS | google-guest-agent | All versions, no fix listed |
| Ubuntu:26.04:LTS | google-osconfig-agent | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | containerd | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-39821
- https://www.cve.org/CVERecord?id=CVE-2026-39821
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://pkg.go.dev/vuln/GO-2026-5026
- https://ubuntu.com/security/notices/USN-8416-1
- https://ubuntu.com/security/notices/USN-8883-1
- https://ubuntu.com/security/notices/USN-8900-1
- https://ubuntu.com/security/notices/USN-8914-1
- https://ubuntu.com/security/notices/USN-8883-2