CVE-2024-43366
published high CVSS 3.1 · 7.5zkvyper ignored loop range bounds
Package status and fixes
Description
zkvyper is a Vyper compiler. Starting in version 1.3.12 and prior to version 1.5.3, since LLL IR has no Turing-incompletness restrictions, it is compiled to a loop with a much more late exit condition. It leads to a loss of funds or other unwanted behavior if the loop body contains it. However, more real-life use cases like iterating over an array are not affected. No contracts were affected by this issue, which was fixed in version 1.5.3. Upgrading and redeploying affected contracts is the only way to avoid the vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matter-labs | era-compiler-vyper | >= 1.3.12, < 1.5.3 (affected) | GitHub_M · cna |
| matter-labs | era-compiler-vyper | 1.3.12 to < 1.5.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
1Provider assertions
2GitHub_M · cna
zkvyper ignored loop range bounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f44c830e4476e75c09c5806cb570ad7a7adbe0f4877cd110397c3e964f647db7
- Ingested
- 23 Sep 2026, 08:27:02 UTC
- Source record
- Official CVE record