Email me

Rust advisories / evm

Vulnerability HighRUSTSEC-2022-0083 · evm

RUSTSEC-2022-0083: evm incorrect state transition

Short answerA security vulnerability in the evm crate: evm incorrect state transition. High severity (CVSS 7.5). Fixed in 0.36.0: update to a fixed version.

Crateevm
TypeVulnerability (crypto-failure)
Affected versionsBefore 0.36.0.
Fixed in0.36.0
SeverityHigh, CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2022-10-25
Last changed2023-11-08
Also known asCVE-2022-39354, GHSA-hhc4-47rh-cr34

What to do

  1. See which version you have: cargo tree -i evm (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p evm. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example evm = "0.36.0") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

SputnikVM, also called evm, is a Rust implementation of Ethereum Virtual Machine.

A custom stateful precompile can use the is_static parameter to determine if the call is executed in a static context (via STATICCALL), and thus decide if stateful operations should be done.

Prior to version 0.36.0, the passed is_static parameter was incorrect -- it was only set to true if the call came from a direct STATICCALL opcode.

However, once a static call context is entered, it should stay static. The issue only impacts custom precompiles that actually uses is_static.

For those affected, the issue can lead to possible incorrect state transitions.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for evm

Full security history of evm

Up next

Same crateevm: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ