Skip to content
OpenAdvisories
High · 7.1 CVE-2022-24788 EUVD-2022-0354GHSA-4mrx-6fxm-8jpgPYSEC-2022-197

Buffer overflow in Vyper

Published Apr 13, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. Versions of vyper prior to 0.3.2 suffer from a potential buffer overrun. Importing a function from a JSON interface which returns `bytes` generates bytecode which does not clamp bytes length, potentially resulting in a buffer overrun. Users are advised to upgrade. There are no known workarounds for this issue.

Affected products

VendorProductAffectedFixed
vyperlang vyper < 0.3.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper < 0.3.2 0.3.2 GHSA-4mrx-6fxm-8jpg

References