CVE-2020-26241
HIGH 7.1CVSS 3.1Shallow copy bug in geth
Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth's pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.
- Published
- 25 Nov 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-682
- Also known as
- GHSA-69v6-xc2j-r2jfGO-2022-0771
- Sources
- NVDJSONOSV GHSA-69v6-xc2j-r2jfJSONOSV GO-2022-0771JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ethereum | go_ethereumcpe:2.3:a:ethereum:go_ethereum:*:*:*:*:*:*:*:* |
< 1.9.17 | 1.9.17 |
| OSV | Go | github.com/ethereum/go-ethereum | >= 1.9.7, < 1.9.17 | 1.9.17 |
References
- https://blog.ethereum.org/2020/11/12/geth_security_release/ · Vendor Advisory, WEB
- https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26241 · ADVISORY
- https://github.com/ethereum/go-ethereum/commit/295693759e5ded05fec0b2fb39359965b60da785 · WEB, FIX
- https://github.com/ethereum/go-ethereum · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jun 2021)