{"cve":"CVE-2021-29511","nvd":{"published":"2021-05-12T18:15:08.527","modified":"2026-06-17T03:47:48.350","status":"Modified","description":"evm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` crate can over-allocate memory when it is not needed, making it possible for an attacker to perform denial-of-service attack. The flaw was corrected in commit `19ade85`. Users should upgrade to `==0.21.1, ==0.23.1, ==0.24.1, ==0.25.1, >=0.26.1`. There are no workarounds. Please upgrade your `evm` crate version.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-787","CWE-770"],"references":["https://crates.io/crates/evm","https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd","https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388","https://crates.io/crates/evm","https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd"],"products":["evm_project:evm"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-29511","score":0.0128,"percentile":0.70031,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4jwq-572w-4388","url":"https://osv.dev/vulnerability/GHSA-4jwq-572w-4388","summary":"Memory over-allocation in evm crate","modified":"2026-07-08T06:27:57.379380528Z","packages":[{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":["<0.21.1"],"fixed":["0.21.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":["<0.21.1"],"fixed":["0.21.1"]},{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.22.0 <0.22.1"],"fixed":["0.22.1"]},{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.23.0 <0.23.1"],"fixed":["0.23.1"]},{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.24.0 <0.24.1"],"fixed":["0.24.1"]},{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.25.0 <0.25.1"],"fixed":["0.25.1"]},{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.26.0 <0.26.1"],"fixed":["0.26.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[">=0.22.0 <0.22.1"],"fixed":["0.22.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[">=0.23.0 <0.23.1"],"fixed":["0.23.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[">=0.24.0 <0.24.1"],"fixed":["0.24.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[">=0.25.0 <0.25.1"],"fixed":["0.25.1"]},{"ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[">=0.26.0 <0.26.1"],"fixed":["0.26.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}