Vulnerabilities · 2024 · Vyperlang
CVE-2024-24564
Vyperlang Vyper vulnerability
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. When using the built-in `extract32(b, start)`, if the `start` index provided has for side effect to update `b`, the byte array to extract `32` bytes from, it could be that some dirty memory is read and returned by `extract32`. This vulnerability is fixed in 0.4.0.
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/security/advisories/GHSA-4hwq-4cpm-8vmx · Exploit
- github.com/vyperlang/vyper/commit/3d9c537142fb99b2672f21e2057f5f202cde194f · Patch
- github.com/vyperlang/vyper/blob/10564dcc37756f3d3684b7a91fd8f4325a38c4d8/vyper/builtins/fu
- github.com/vyperlang/vyper/blob/10564dcc37756f3d3684b7a91fd8f4325a38c4d8/vyper/builtins/fu
- nvd.nist.gov/vuln/detail/CVE-2024-24564
- github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2024-205.yaml
- github.com/advisories/GHSA-4hwq-4cpm-8vmx
- nvd.nist.gov/vuln/detail/CVE-2024-24564
- cve.org/CVERecord?id=CVE-2024-24564
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.