CVE-2020-26240: Erroneous Proof of Work calculation in geth

Summary

29/06/2021
Yes i
Moderate
5.3

CVE-2020-26240: Erroneous Proof of Work calculation in geth. Affects github.com/ethereum/go-ethereum versions < 1.9.24. Fixed in 1.9.24. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package under scrutiny is github.com/ethereum/go-ethereum, which is an implementation of the Ethereum protocol in the Go programming language. It provides a command-line interface (CLI) tool called geth that allows users to interact with the Ethereum network. The package is widely used by miners to participate in the Ethereum network and perform Proof of Work (PoW) calculations. However, a vulnerability has been identified in the ethash mining DAG generation process, which could lead to erroneous PoW calculations in an upcoming epoch.

Vulnerability Detail

The vulnerability arises from a flaw in the ethash mining DAG generation process in Geth. This flaw can cause miners to incorrectly calculate PoW in an upcoming epoch, potentially leading to mining inefficiencies and financial losses. The issue was observed on the Ethereum Classic (ETC) chain on November 6, 2020. It is important to note that this vulnerability only affects miners, and non-mining nodes are not impacted.

How To Fix

Latest published version: v1.17.9 as of 23 Oct 2026

go get github.com/ethereum/go-ethereum@v1.17.9

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.24

This is the first release that contains the fix.

go get github.com/ethereum/go-ethereum@v1.9.24

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the vulnerability in the ethash mining DAG generation process of Geth can lead to erroneous Proof of Work calculations for miners. It is crucial for miners to update to version 1.9.24 or a later version of github.com/ethereum/go-ethereum to mitigate this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/ethereum/go-ethereum →

Share this vulnerability

FAQ

The vulnerability can cause miners to incorrectly calculate Proof of Work in an upcoming epoch, leading to mining inefficiencies and potential financial losses.

No, this vulnerability only affects miners. Non-mining nodes are not impacted.

The vulnerability was observed on the Ethereum Classic (ETC) chain on November 6, 2020.

To fix this vulnerability, update to version 1.9.24 or a later version of github.com/ethereum/go-ethereum.

The vulnerability was discovered by @slavikus and fixed by the maintainers of github.com/ethereum/go-ethereum.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/ethereum/go-ethereum.

How To Fix

Latest published version: v1.17.9 as of 23 Oct 2026

go get github.com/ethereum/go-ethereum@v1.17.9

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.24

This is the first release that contains the fix.

go get github.com/ethereum/go-ethereum@v1.9.24

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback