Skip to content
OpenAdvisories
Low · 3.7 CVE-2024-26149 EUVD-2024-0180GHSA-9p8r-4xp4-gw5wPYSEC-2024-164

Vyper _abi_decode Memory Overflow

Published Feb 26, 2024 · Updated Aug 22, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
vyperlang vyper <= 0.3.10 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper < 0.4.0 0.4.0 GHSA-9p8r-4xp4-gw5w
PyPI vyper < 0.4.0b1 0.4.0b1 PYSEC-2024-164

References