{"cve":"CVE-2022-39354","nvd":{"published":"2022-10-25T19:15:11.790","modified":"2026-06-17T04:58:12.167","status":"Modified","description":"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. Version 0.36.0 contains a patch. There are no known workarounds.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-670"],"references":["https://github.com/rust-blockchain/evm/pull/133","https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34","https://github.com/rust-blockchain/evm/pull/133","https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34"],"products":["evm_project:evm"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39354","score":0.00683,"percentile":0.52516,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hhc4-47rh-cr34","url":"https://osv.dev/vulnerability/GHSA-hhc4-47rh-cr34","summary":"Incorrect is_static parameter for custom stateful precompiles in SputnikVM (evm)","modified":"2023-11-08T04:10:19.736914Z","packages":[{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":["<0.36.0"],"fixed":["0.36.0"]}]},{"id":"RUSTSEC-2022-0083","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0083","summary":"evm incorrect state transition","modified":"2023-11-08T04:10:19.736914Z","packages":[{"ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[">=0.0.0-0 <0.36.0"],"fixed":["0.36.0"]}]}],"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."]}