ADVISORIES

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

EcosystemPackageAffected versions
Ubuntu:14.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:16.04:LTSgolang-1.6
All versions, no fix listed
Ubuntu:Pro:16.04:LTSjuju-core
All versions, no fix listed
Ubuntu:Pro:16.04:LTSlxd
All versions, no fix listed
Ubuntu:Pro:16.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:16.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.10
All versions, no fix listed
Ubuntu:Pro:18.04:LTSlxd
All versions, no fix listed
Ubuntu:Pro:18.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.8
All versions, no fix listed
Ubuntu:18.04:LTSgolang-1.9
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgolang-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:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:18.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:20.04:LTSadsys
All versions, no fix listed
Ubuntu:Pro:20.04:LTScontainerd
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.14
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgolang-1.16
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.18
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:20.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:Pro:20.04:LTSgolang-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:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:20.04:LTSlxd
All versions, no fix listed
Ubuntu:22.04:LTSadsys
All versions, no fix listed
Ubuntu:22.04:LTScontainerd
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.17
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1.3 (fixed in 1.18.1-1ubuntu1.3)
Ubuntu:22.04:LTSgolang-1.20
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.21
All versions before 1.21.1-1~ubuntu22.04.4 (fixed in 1.21.1-1~ubuntu22.04.4)
Ubuntu:22.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.23
All versions before 1.23.1-1~22.04.3 (fixed in 1.23.1-1~22.04.3)
Ubuntu:22.04:LTSgolang-1.24
All versions before 1.24.13-2~22.04.2 (fixed in 1.24.13-2~22.04.2)
Ubuntu:22.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:22.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:22.04:LTSgolang-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:LTSgoogle-guest-agent
All versions before 20250116.00-0ubuntu1~22.04.4 (fixed in 20250116.00-0ubuntu1~22.04.4)
Ubuntu:22.04:LTSgoogle-osconfig-agent
All versions before 20251028.00-0ubuntu2~22.04.1 (fixed in 20251028.00-0ubuntu2~22.04.1)
Ubuntu:Pro:22.04:LTSgolang-1.13
All versions, no fix listed
Ubuntu:24.04:LTSadsys
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.21
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.22
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:24.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:24.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:24.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:24.04:LTScontainerd
All versions, no fix listed
Ubuntu:Pro:24.04:LTSgolang-golang-x-net
All versions, no fix listed
Ubuntu:26.10adsys
All versions, no fix listed
Ubuntu:26.10containerd
All versions, no fix listed
Ubuntu:26.10golang-1.26
All versions, no fix listed
Ubuntu:26.10golang-1.27
All versions, no fix listed
Ubuntu:26.10golang-golang-x-net
All versions, no fix listed
Ubuntu:26.10google-guest-agent
All versions, no fix listed
Ubuntu:26.10google-osconfig-agent
All versions, no fix listed
Ubuntu:26.04:LTSadsys
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.23
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.24
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.25
All versions, no fix listed
Ubuntu:26.04:LTSgolang-1.26
All versions, no fix listed
Ubuntu:26.04:LTSgolang-golang-x-net
All versions, no fix listed
Ubuntu:26.04:LTSgoogle-guest-agent
All versions, no fix listed
Ubuntu:26.04:LTSgoogle-osconfig-agent
All versions, no fix listed
Ubuntu:Pro:26.04:LTScontainerd
All versions, no fix listed

References