Skip to main content
VulnerabilityPublished Updated

CVE-2026-39821: golang-1.18, golang-1.21, golang-1.24 vulnerability

Affects golang-1.18Source GCVE Database

0
Compare
Authoritative record:CVE-2026-39821· Critical 9.6

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

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.

Sources agree

CVSS scores by source
CISA-ADPCVSS 3.19.6
ADP (redhat-SADP)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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).

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSgolang-1.18pkg:deb/ubuntu/golang-1.18?arch=source&distro=jammyOther threatsAffected
  • 1.18~beta1-0ubuntu1 – 1.18~rc1-1ubuntu1
  • <1.18.1-1ubuntu1.3
4 affected builds
Fixed in
  • 1.18.1-1ubuntu1.3
Ubuntu 22.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=jammyOther threatsAffected
  • <1.21.1-1~ubuntu22.04.4
Fixed in
  • 1.21.1-1~ubuntu22.04.4
Ubuntu 22.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=jammyOther threatsAffected
  • <1.24.13-2~22.04.2
Fixed in
  • 1.24.13-2~22.04.2

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.

References

Community reviews

Loading reviews…