HomeDefault status
unaffected
Any version before 1.25.9
affected
1.26.0-0 (semver) before 1.26.2
affected
Description
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.
Problem types
CWE-440: Expected Behavior Violation
Product status
Any version before 1.25.9
1.26.0-0 (semver) before 1.26.2
Credits
Jakub Ciolek - https://ciolek.dev/
References
groups.google.com/g/golang-announce/c/0uYbvbPZRWU