Read the docs
TI-2024-23299 Aliases CVE-2024-35229

ZKsync Era evaluation order of Yul function arguments

Priority LOW 30CWE-696Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

ZKsync Era is a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum. Prior to version 1.3.10, there is a very specific pattern `f(a(),b()); check_if_a_executed_last()` in Yul that exposes a bug in evaluation order of Yul function arguments. This vulnerability has been fixed in version 1.3.10. As a workaround, update and redeploy affected contracts.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00399 34th percentileScored 2026-11-07
Fix Fixed era-compiler-solidity (matter-labs): 1.3.10

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
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
matter-labsera-compiler-soliditybefore 1.3.101.3.10Patch availableCNA
  • era-compiler-solidity Vendormatter-labs Affected before 1.3.10 Fixed in 1.3.10 Patch available CNA

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:matter-labs:era-compiler-solidity:*:*:*:*:*:*:*:*——matter-labs
  • cpe:2.3:a:matter-labs:era-compiler-solidity:*:*:*:*:*:*:*:* Versions — — ·matter-labs

Remediation

  • Fix · CNA era-compiler-solidity (matter-labs) Fixed in 1.3.10

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-35229

References

  • TI-2024-29017 zkvyper ignored loop range bounds CVSS 3.1CRITICAL 9.1
  • TI-2024-30167 `fold (xor (shl 1, x), -1) -> (rotl ~1, x)` misoptimization in zksolc CVSS 3.1MEDIUM 5.9
  • TI-2024-23002 era-compiler-solidity contains a `xor(zext(cmp), -1)` misoptimization CVSS 3.1MEDIUM 5.9
  • TI-2024-25768 ZKsync Era invalid stack addressing conversion CVSS 3.1MEDIUM 6.5
  • TI-2023-24859 era-compiler-vyper First Immutable Variable Initialization vulnerability CVSS 3.1MEDIUM 5.3

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences