Read the docs
TI-2022-18729 Aliases CVE-2022-39354GHSA-hhc4-47rh-cr34

evm has incorrect is_static parameter for custom stateful precompiles

Priority LOW 34CWE-670Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00683 52nd percentileScored 2026-11-07
Fix Fixed evm (rust-blockchain): 0.36.0evm (crates.io): 0.36.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rust-blockchainevmbefore 0.36.00.36.0Patch availableCNA
—evm (crates.io)before 0.36.00.36.0Patch availableGHSA-hhc4-47rh-cr34
  • evm Vendorrust-blockchain Affected before 0.36.0 Fixed in 0.36.0 Patch available CNA
  • evm (crates.io) Vendor— Affected before 0.36.0 Fixed in 0.36.0 Patch available GHSA-hhc4-47rh-cr34

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*before 0.36.0Vulnerablerust-blockchain
  • cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:* Versions before 0.36.0 Vulnerable ·rust-blockchain

Remediation

  • Fix · CNA evm (rust-blockchain) Fixed in 0.36.0
  • Fix · GHSA-hhc4-47rh-cr34 evm (crates.io) Fixed in 0.36.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39354
  2. 2026-10-03 Alias added: GHSA-hhc4-47rh-cr34
  3. 2026-10-23 EPSS moved to the 50th–90th percentile

References

  • TI-2021-17992 Specification non-compliance in JUMPI CVSS 3.1CRITICAL 9.8
  • TI-2024-14354 Erroneous handling of `record_external_operation` error return CVSS 3.1HIGH 7.5
  • TI-2021-10219 Memory over-allocation in evm crate CVSS 3.1MEDIUM 6.5

Sources