GO-2026-4868
Missing bound checks can lead to memory corruption in safe Go in cmd/compile
At a glance
- Published
- Updated
- CVE
- CVE-2026-27143
- Aliases
- BIT-golang-2026-27143
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.
Affected packages
| Package | Versions |
|---|---|
| Go · toolchain | introduced 0, fixed 1.25.9, introduced 1.26.0-0, fixed 1.26.2 |
References
- https://go.dev/cl/763765 FIX
- https://go.dev/issue/78333 REPORT
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |