Buffer overflow in go-ethereum - CVE-2020-26241
Published: November 24, 2020 / Updated: April 27, 2026
go-ethereum
Ethereum
Description
The vulnerability allows a remote attacker to cause a chain split where vulnerable nodes reject the canonical chain.
The vulnerability exists due to memory corruption in the dataCopy precompile when processing crafted contract execution involving RETURNDATACOPY. A remote attacker can deploy a specially crafted contract to cause a chain split where vulnerable nodes reject the canonical chain.
The issue arises because the precompile performs a shallow copy on invocation, which can cause divergent EVM results compared to consensus-compliant nodes.