# CVE-2024-35229: ZKsync Era evaluation order of Yul function arguments

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-05-27T16:20:27.432Z
- Modified: 2026-06-17T07:34:35.177Z
- Weaknesses: CWE-696
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- matter-labs era-compiler-solidity: < 1.3.10; before 1.3.10

## References

- <https://github.com/matter-labs/era-compiler-solidity/security/advisories/GHSA-jf9w-7f5g-j95p>
- <https://github.com/matter-labs/era-compiler-solidity/commit/46ce047b51576495779b9f67534207d8154eab79>

## Sources

- CVE List: [CVE-2024-35229](https://www.cve.org/CVERecord?id=CVE-2024-35229), CVE Terms of Use, modified 2024-09-03
- NVD: [CVE-2024-35229](https://nvd.nist.gov/vuln/detail/CVE-2024-35229), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35229 · Whole record: https://cve.day/CVE-2024-35229.json · Rebuilt by cve.day 2026-11-25T22:58:40.946Z
