{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-29511","published":"2021-05-12T18:15:08.527000Z","last_modified":"2026-06-17T03:47:48.350000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-770","CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version_end_including":"0.21.0"},{"criteria":"cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version":"0.22.0"},{"criteria":"cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version":"0.23.0"},{"criteria":"cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version":"0.24.0"},{"criteria":"cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version":"0.25.0"},{"criteria":"cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version":"0.26.0"}],"cpes_truncated":false,"vendors":["evm_project"],"products":["evm_project/evm"],"epss":{"score":0.0142,"percentile":0.73625,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0","fixed":"0.21.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.22.0","fixed":"0.22.1"}],"versions":["0.22.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.23.0","fixed":"0.23.1"}],"versions":["0.23.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.24.0","fixed":"0.24.1"}],"versions":["0.24.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.25.0","fixed":"0.25.1"}],"versions":["0.25.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.26.0","fixed":"0.26.1"}],"versions":["0.26.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0","fixed":"0.21.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0.22.0","fixed":"0.22.1"}],"versions":["0.22.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0.23.0","fixed":"0.23.1"}],"versions":["0.23.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0.24.0","fixed":"0.24.1"}],"versions":["0.24.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0.25.0","fixed":"0.25.1"}],"versions":["0.25.0"],"versions_truncated":false},{"advisory":"GHSA-4jwq-572w-4388","ecosystem":"crates.io","name":"evm-core","purl":"pkg:cargo/evm-core","ranges":[{"introduced":"0.26.0","fixed":"0.26.1"}],"versions":["0.26.0"],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-29511/","html_en":"/en/cve/CVE-2021-29511/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29511","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29511"},"untrusted":{"vendor_name":"Evm Project","product_name":"Evm","desc_en":"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.","affected":[{"untrusted_vendor":"rust-blockchain","untrusted_product":"evm","versions":[]}],"references":[{"url":"https://crates.io/crates/evm","tags":["Third Party Advisory"]},{"url":"https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388","tags":["Patch","Third Party Advisory"]}]}}