CVE-2024-26149
LOW3.7EPSS 0.59%Vyper's `_abi_decode` vulnerable to Memory Overflow
Published: 2/26/2024Modified: 2/5/2026
Description
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. If an excessively large value is specified as the starting index for an array in `_abi_decode`, it can cause the read position to overflow. This results in the decoding of values outside the intended array bounds, potentially leading to exploitations in contracts that use arrays within `_abi_decode`. This vulnerability affects 0.3.10 and earlier versions.
Affected packages (2)
- PyPI/vyperfrom 0, < 0.4.0
- PyPI/vyperfrom 0, < 0.4.0b1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-26149
- PATCHhttps://github.com/vyperlang/vyper
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-164.yaml
- WEBhttps://github.com/vyperlang/vyper/pull/3925
- WEBhttps://github.com/vyperlang/vyper/pull/4060
- WEBhttps://github.com/vyperlang/vyper/pull/4091
- WEBhttps://github.com/vyperlang/vyper/pull/4144
- WEBhttps://github.com/vyperlang/vyper/security/advisories/GHSA-9p8r-4xp4-gw5w