era-compiler-vyper First Immutable Variable Initialization vulnerability
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
era-compiler-vyper is the EraVM Vyper compiler for zkSync Era, a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum. Prior to era-compiler-vype version 1.3.10, a bug prevented the initialization of the first immutable variable for Vyper contracts meeting certain criteria. The problem arises when there is a String or Array with more 256-bit words allocated than initialized. It results in the second word’s index unset, that is effectively set to 0, so the first immutable value with the actual 0 index is overwritten in the ImmutableSimulator. Version 1.3.10 fixes this issue by setting all indexes in advance. The problem will go away, but it will get more expensive if the user allocates a lot of uninitialized space, e.g. `String[4096]`. Upgrading and redeploying affected contracts is the only way of working around the issue.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| matter-labs | era-compiler-vyper | before 1.3.10 | 1.3.10 | Patch available | CNA |
- era-compiler-vyper Vendormatter-labs Affected before 1.3.10 Fixed in 1.3.10 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:matter-labs:zkvyper:*:*:*:*:*:*:*:* | before 1.3.10 | Vulnerable | matter-labs |
- cpe:2.3:a:matter-labs:zkvyper:*:*:*:*:*:*:*:* Versions before 1.3.10 Vulnerable ·matter-labs
Remediation
- Fix · CNA era-compiler-vyper (matter-labs) Fixed in 1.3.10
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46232
- 2026-10-26 EPSS moved to the 50th–90th percentile
References
Patch 1
More matter-labs Zkvyper vulnerabilities
- TI-2024-29017 zkvyper ignored loop range bounds CVSS 3.1CRITICAL 9.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences