CVE-2026-27143

Missing bound checks can lead to memory corruption in safe Go in cmd/compile

State
Published
Severity
9.8 Critical
Published
Apr 8, 2026
Updated
Apr 13, 2026
Reserved
Feb 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
cmd/compileGo toolchain
  • before 1.25.9Affected
  • 1.26.0-0 to before 1.26.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.