Incorrect calculation in go-ethereum - CVE-2020-26240

 

Incorrect calculation in go-ethereum - CVE-2020-26240

Published: November 24, 2020 / Updated: April 27, 2026


Vulnerability identifier: #VU127996
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-26240
CWE-ID: CWE-682
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Ethereum
Affected software:
go-ethereum

Detailed vulnerability description

The vulnerability allows a local user to cause miners to create invalid proof-of-work.

The vulnerability exists due to incorrect DAG generation logic in the ethash mining DAG generation functionality when generating DAG data for an upcoming epoch. A local user can trigger mining with the erroneous DAG to cause miners to create invalid proof-of-work.

Only mining nodes are affected; non-mining nodes are unaffected.


How to mitigate CVE-2020-26240

Install security update from vendor's website.

Sources