CVE-2026-39821: Golang 1.10 · The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that
Affects golang-1.10Source GCVE Database
Not known to be exploited · CVSS 9.6 Critical · fixed in 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3 : patch golang-1.10 as a priority.
Data as of 20 Nov 2026, 08:26 UTC
- EPSS
- 1.8% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3, 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3, 1.18.1-1ubuntu1.3 +6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10adsyspkg:deb/ubuntu/adsys?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10containerdpkg:deb/ubuntu/containerd?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10golang-1.26pkg:deb/ubuntu/golang-1.26?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10golang-1.27pkg:deb/ubuntu/golang-1.27?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10golang-golang-x-netpkg:deb/ubuntu/golang-golang-x-net?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10google-guest-agentpkg:deb/ubuntu/google-guest-agent?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and should be applied by updating to the patched package versions provided by the vendor. Ubuntu has released security updates for multiple Go package versions across supported releases. Users should apply these updates via standard system update mechanisms. No additional mitigation steps are required beyond applying the official patches.
Description
The Go programming language's ToASCII and ToUnicode functions in the idna package incorrectly accept certain Punycode-encoded labels that decode to ASCII-only labels, such as "xn--example-.com" being treated as "example.com" instead of an error. This flaw can cause programs performing hostname-based privilege checks to bypass restrictions, potentially leading to privilege escalation. The issue affects multiple Go versions and has been assigned CVE-2026-39821 with a critical severity rating. Fixes are available in updated package versions for various Ubuntu releases.
References
- ubuntu.com/security/CVE-2026-39821 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-39821 (opens in a new tab)
- groups.google.com/g/golang-announce/c/iI-mYSI0lu8 (opens in a new tab)
- pkg.go.dev/vuln/GO-2026-5026 (opens in a new tab)
- ubuntu.com/security/notices/USN-8416-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8883-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8900-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8914-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8883-2 (opens in a new tab)