{"id":"CVE-2024-24564","published":"2024-02-26T20:16:13Z","modified":"2024-10-25T20:33:03Z","title":"Vyper extract32 can ready dirty memory","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00561,"percentile":0.47551,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-4hwq-4cpm-8vmx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vyperlang/vyper/commit/3d9c537142fb99b2672f21e2057f5f202cde194f","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":9.51},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":["< 0.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-09T16:54:00.551575Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vyper","vulnerableRanges":["<0.4.0"],"patched":["0.4.0"],"from":["GHSA-4hwq-4cpm-8vmx","PYSEC-2024-205"],"provenance":"source"}],"summary":{"text":"The flaw is in Vyper, the Pythonic smart contract language for the Ethereum Virtual Machine, specifically in its built-in extract32(b, start) function, where an out-of-bounds read can return dirty memory. An attacker who can reach a contract compiled with Vyper over the network, with no authentication or user interaction required, can exploit it when the start index has the side effect of modifying the byte array b, which can cause stale memory contents to be returned and disclosed, though only with high attack complexity conditions present.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:02Z"},"euvd":{"id":"EUVD-2024-0181","exploited":false,"provenance":"source"}}