{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-39354","published":"2022-10-25T19:15:11.790000Z","last_modified":"2026-06-17T04:58:12.167000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-670"],"cpes":[{"criteria":"cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*","part":"a","vendor":"evm_project","product":"evm","version_end_excluding":"0.36.0"}],"cpes_truncated":false,"vendors":["evm_project"],"products":["evm_project/evm"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00773,"percentile":0.52162,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hhc4-47rh-cr34","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0","fixed":"0.36.0"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2022-0083","ecosystem":"crates.io","name":"evm","purl":"pkg:cargo/evm","ranges":[{"introduced":"0.0.0-0","fixed":"0.36.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-39354/","html_en":"/en/cve/CVE-2022-39354/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39354","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39354"},"untrusted":{"vendor_name":"Evm Project","product_name":"Evm","desc_en":"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.","affected":[{"untrusted_vendor":"rust-blockchain","untrusted_product":"evm","versions":[]}],"references":[{"url":"https://github.com/rust-blockchain/evm/pull/133","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/rust-blockchain/evm/security/advisories/GHSA-hhc4-47rh-cr34","tags":["Third Party Advisory"]}]}}