Vulnerabilities · 2022 · Vyperlang
CVE-2022-24788
Vyperlang Vyper vulnerability
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
Vyper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vyperlang Vyper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b · Patch
- github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-24788
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2022-197.yaml
- github.com/advisories/GHSA-4mrx-6fxm-8jpg
- nvd.nist.gov/vuln/detail/CVE-2022-24788
- cve.org/CVERecord?id=CVE-2022-24788
More vulnerabilities in Vyperlang products
CVE-2025-27105CVE-2025-27104CVE-2025-26622CVE-2025-21607CVE-2024-32649CVE-2024-32648CVE-2024-32647CVE-2024-32646All 38
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.