Red Hat VEX
RHVEX-CVE-2026-27143
golang: cmd/compile: possible memory corruption after bound check elimination
Details
A flaw was found in the cmd/compile package in the Go standard library. The compiler fails to correctly check for integer overflow or underflow in arithmetic operations involving loop induction variables. As a result, the compiler allows invalid memory indexing to occur at runtime, potentially leading to memory corruption.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | go-toolset | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-27143
- https://bugzilla.redhat.com/show_bug.cgi?id=2456342
- https://www.cve.org/CVERecord?id=CVE-2026-27143
- https://nvd.nist.gov/vuln/detail/CVE-2026-27143
- 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