CVE-2024-26149
MEDIUM 5.3CVSS 3.1Vyper's `_abi_decode` vulnerable to Memory Overflow
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.
- Published
- 26 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-119CWE-120
- Also known as
- GHSA-9p8r-4xp4-gw5wPYSEC-2024-164
- Sources
- NVDJSONOSV GHSA-9p8r-4xp4-gw5wJSONOSV PYSEC-2024-164JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vyperlang | vypercpe:2.3:a:vyperlang:vyper:*:*:*:*:*:python:*:* |
<= 0.3.10 | |
| OSV | PyPI | vyper | < 0.4.0 | 0.4.0 |
| OSV | PyPI | vyper | < 0.4.0b1 | 0.4.0b1 |
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-9p8r-4xp4-gw5w · Exploit, Patch, Vendor Advisory, WEB, ADVISORY, EVIDENCE, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-26149 · ADVISORY
- https://github.com/vyperlang/vyper/pull/3925 · WEB
- https://github.com/vyperlang/vyper/pull/4060 · WEB
- https://github.com/vyperlang/vyper/pull/4091 · WEB
- https://github.com/vyperlang/vyper/pull/4144 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-164.yaml · WEB
- https://github.com/vyperlang/vyper · PACKAGE
- https://github.com/advisories/GHSA-9p8r-4xp4-gw5w · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 26 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Feb 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Feb 2024)