era-compiler-vyper First Immutable Variable Initialization vulnerability
Published Oct 25, 2023
5.3
MEDIUMCVSS 3.1
EPSS 0.56%
Description
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.
Affected products
-
- Version < 1.3.10StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Matter-Labs | Era-Compiler-Vyper | n/a |
|
- < 1.3.10
-
- Version 0StatusaffectedConstraints<1.3.10
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Matter-Labs | Era-Compiler-Vyper | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Sep 10, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (7 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.56% (0.00564) | 44.90th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.56% (0.00564) | 42.18th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.24% (0.00235) | 44.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.09% (0.00088) | 39.25th | v3 (v2023.03.01) |
| Jun 20, 2024 | 0.05% (0.00052) | 20.67th | v3 (v2023.03.01) |
| Nov 7, 2023 | 0.05% (0.00052) | 18.65th | v3 (v2023.03.01) |
| Oct 26, 2023 | 0.04% (0.00045) | 12.61th | v3 (v2023.03.01) |
References (3)
- https://github.com/matter-labs/era-compiler-vyper/commit/8be305a1b9c68d0fd47dad3434224ed85944ca25 x_refsource_MISCPatch
- https://github.com/matter-labs/era-compiler-vyper/security/advisories/GHSA-h8jv-969m-94r4 x_refsource_CONFIRMExploitVendor Advisory
- https://github.com/matter-labs/era-system-contracts/blob/main/contracts/ImmutableSimulator.sol#L37 x_refsource_MISCProduct
| Link | Providers | Tags |
|---|---|---|
| https://github.com/matter-labs/era-compiler-vyper/commit/8be305a1b9c68d0fd47dad3434224ed85944ca25 | x_refsource_MISCPatch | |
| https://github.com/matter-labs/era-compiler-vyper/security/advisories/GHSA-h8jv-969m-94r4 | x_refsource_CONFIRMExploitVendor Advisory | |
| https://github.com/matter-labs/era-system-contracts/blob/main/contracts/ImmutableSimulator.sol#L37 | x_refsource_MISCProduct |
Change history (0)
No recorded changes yet.