CVE-2026-27143: Golang 1.21 · Arithmetic over induction variables in loops were not correctly checked for underflow or
Affects golang-1.21Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 5 Nov 2026, 00:01 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 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 4 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSgolang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.25pkg:deb/ubuntu/golang-1.25?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=nobleOther 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
No explicit patch links are provided in the data, but affected versions are clearly identified. Users should upgrade to versions later than those listed or consult the official Golang vendor advisories for fixed releases. Since this is a compiler vulnerability, recompiling affected software with a fixed compiler version is necessary to mitigate the issue.
Description
A vulnerability in Golang 1.21 involves incorrect checking of arithmetic over induction variables in loops for underflow or overflow. This flaw allows the compiler to permit invalid indexing at runtime, which can lead to memory corruption. The issue affects multiple specific builds of Golang 1.21 and 1.22 versions. It has a critical severity with a CVSS score of 9.8, indicating high impact on confidentiality, integrity, and availability.
References
- ubuntu.com/security/CVE-2026-27143 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-27143 (opens in a new tab)
- go.dev/cl/763765 (opens in a new tab)
- go.dev/issue/78333 (opens in a new tab)
- groups.google.com/g/golang-announce/c/0uYbvbPZRWU (opens in a new tab)
- pkg.go.dev/vuln/GO-2026-4868 (opens in a new tab)