9.8Critical

CVE-2026-27143Missing bound checks can lead to memory corruption in safe Go in cmd/compile

Go toolchain cmd/compile Published: (7 months ago)

Description

Arithmetic over induction variables in loops were not correctly checked for underflow or overflow. As a result, the compiler would allow for invalid indexing to occur at runtime, potentially leading to memory corruption.

Weakness (CWE): CWE-190

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go toolchain cmd/compile < 1.25.9, 1.26.0-0 – < 1.26.2
golang go < 1.25.9

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.25.9
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* ≥ 1.26.0 < 1.26.2