CVE-2026-39821: golang-1.18, golang-1.21, golang-1.24 vulnerability
Affects golang-1.18Source GCVE Database
Not known to be exploited · CVSS 9.6 Critical · fixed in 1.18.1-1ubuntu1.3 : patch golang-1.18 as a priority.
Data as of 24 Nov 2026, 18:38 UTC
Sources agree
| CISA-ADP | CVSS 3.1 | 9.6 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 8.2 |
- Patch
- Available – fixed in 1.18.1-1ubuntu1.3, 1.21.1-1~ubuntu22.04.4, 1.24.13-2~22.04.2
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 23 Nov 2026.
What to do
Upgrade the Ubuntu to 1.18.1-1ubuntu1.3 (golang-1.18 package) or 1.21.1-1~ubuntu22.04.4 (golang-1.21 package) or 1.24.13-2~22.04.2 (golang-1.24 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 22.04 LTSgolang-1.18pkg:deb/ubuntu/golang-1.18?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammyOther 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
Apply the official patches by updating to the fixed package versions: golang-1.18 to 1.18.1-1ubuntu1.3 or later, golang-1.21 to 1.21.1-1~ubuntu22.04.4 or later, and golang-1.24 to 1.24.13-2~22.04.2 or later. A standard system update will apply these fixes. No additional mitigation steps are required beyond updating.
Description
A vulnerability in the Go x/net/idna package affects golang versions 1.18, 1.21, and 1.24. The package incorrectly handles certain Punycode-encoded labels that decode to ASCII-only labels, which could allow an attacker to bypass hostname-based access controls and escalate privileges. Fixed versions have been released and are available via standard system updates.