Vulnerability Report: GO-2026-4868
- CVE-2026-27143
- Affects: cmd/compile
- Published: Apr 07, 2026
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
-
PathVersionsSymbols
-
before go1.25.9, from go1.26.0-0 before go1.26.2all symbols
Aliases
References
- https://go.dev/cl/763765
- https://go.dev/issue/78333
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
- https://vuln.go.dev/ID/GO-2026-4868.json
Credits
- Jakub Ciolek - https://ciolek.dev/
Feedback
See anything missing or incorrect?
Suggest an edit to this report.