# CVE-2020-26241: Shallow copy bug in geth

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2020-11-25T01:25:20.000Z
- Modified: 2026-07-08T06:00:35.934Z
- Also known as: GHSA-69v6-xc2j-r2jf, GO-2022-0771
- Weaknesses: CWE-682
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ethereum go-ethereum: >= 1.9.7, < 1.9.17
- github.com/ethereum/go-ethereum (Go): from 1.9.7 before 1.9.17
- ethereum go_ethereum: before 1.9.17

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P`

## References

- <https://blog.ethereum.org/2020/11/12/geth_security_release/> (vendor-advisory)
- <https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26241> (advisory)
- <https://github.com/ethereum/go-ethereum/commit/295693759e5ded05fec0b2fb39359965b60da785> (fix, web)
- <https://blog.ethereum.org/2020/11/12/geth_security_release> (web)
- <https://github.com/ethereum/go-ethereum> (package)

## Sources

- CVE List: [CVE-2020-26241](https://www.cve.org/CVERecord?id=CVE-2020-26241), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-69v6-xc2j-r2jf](https://github.com/advisories/GHSA-69v6-xc2j-r2jf), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2022-0771](https://pkg.go.dev/vuln/GO-2022-0771), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-26241](https://nvd.nist.gov/vuln/detail/CVE-2020-26241), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26241 · Whole record: https://cve.day/CVE-2020-26241.json · Rebuilt by cve.day 2026-11-25T22:57:55.947Z
