Rust EVM is an Ethereum Virtual Machine interpreter. In `rust-evm`, a feature called…
Historical advisory recorded 24 Oct 2026 23:17:22 UTC. Read the latest advisory.
nvd · CVE-2024-21629
PublishedRust EVM is an Ethereum Virtual Machine interpreter. In `rust-evm`, a feature called `record_external_operation` was introduced, allowing library users to record custom gas changes. This feature can have some bogus interactions with the call stack. In particular, during finalization of a `CREATE` or `CREATE2`, in the case that the substack execution happens successfully, `rust-evm` will first commit the substate, and then call `record_external_operation(Write(out_code.len()))`. If `record_external_operation` later fails, this error is returned to the parent call stack, instead of `Succeeded`. Yet, the substate commitment already happened. This causes smart contracts able to commit state changes, when the parent caller contract receives zero address (which usually indicates that the execution has failed). This issue only impacts library users with custom `record_external_operation` that returns errors. The issue is patched in release 0.41.1. No known workarounds are available.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2024-21629
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-703 · NVD-CWE-noinfo
Original publisher date fields
published: 2024-01-02T22:15:09.897
lastModified: 2026-06-17T07:09:52.813
1 source CPE criteria · context only
- cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON