critical 9.8
EPSS 0.55%
GO-2026-4868: Missing bound checks can lead to memory corruption in safe Go in cmd/compile
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- google toolchain
https://osv.dev/vulnerability/GO-2026-4868 ↗
osvgofix-available
Missing bound checks can lead to memory corruption in safe Go in cmd/compile 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. Affected: Go:toolchain Fixed in: 1.25.9, 1.26.2 References: https://go.dev/cl/763765 https://go.dev/issue/78333 https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU