{"id":"CVE-2022-24788","aliases":["GHSA-4mrx-6fxm-8jpg","PYSEC-2022-197"],"url":"https://o3.security/vulnerability/CVE-2022-24788","summary":"Buffer overflow in Vyper","details":"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.","published":"2022-04-13T18:30:18Z","modified":"2026-07-15T01:48:53.404391515Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N"},"epss":{"score":0.00948,"percentile":0.57686,"asOf":"2026-07-31"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"vyper","fixedVersion":"0.3.2"}],"fix":{"url":"https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b","label":"vyperlang/vyper@049dbdc"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24788.json"},{"type":"ADVISORY","url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24788"},{"type":"FIX","url":"https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:53.404391515Z"}}