VDB
KO

GO-2026-4868

Missing bound checks can lead to memory corruption in safe Go in cmd/compile

Quick fix

GO-2026-4868 — toolchain: upgrade to the fixed version with the command below.

go get toolchain@v1.25.9

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / toolchain
Introduced in: 0 Fixed in: 1.25.9
Fix go get toolchain@v1.25.9

References