VDB
KO

GO-2026-4867

Miscompilation allows memory corruption via CONVNOP-wrapped array copy in cmd/compile

Quick fix

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

go get toolchain@v1.25.9

Details

The compiler is meant to unwrap pointers which are the operands of a memory move; a no-op interface conversion prevented the compiler from making the correct determination about non-overlapping moves, potentially leading to memory corruption at runtime.

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