ADVISORIES

Go Vulnerability Database

GO-2026-4867

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

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.

Affected packages

EcosystemPackageAffected versions
Gotoolchain
All versions before 1.25.9 (fixed in 1.25.9)
From 1.26.0-0 before 1.26.2 (fixed in 1.26.2)

References