Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Go toolchain / cmd/compile | affected 0 before 1.25.9; affected 1.26.0-0 before 1.26.2 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/cl/763765
- https://go.dev/issue/78333
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
- https://pkg.go.dev/vuln/GO-2026-4868
ADP enrichment
No English description supplied.
No references supplied.