{"cve":"CVE-2022-24788","nvd":{"published":"2022-04-13T19:15:09.243","modified":"2026-06-17T04:32:31.223","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-119","CWE-120"],"references":["https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b","https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg","https://github.com/vyperlang/vyper/commit/049dbdc647b2ce838fae7c188e6bb09cf16e470b","https://github.com/vyperlang/vyper/security/advisories/GHSA-4mrx-6fxm-8jpg"],"products":["vyperlang:vyper"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-24788","score":0.00986,"percentile":0.62408,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4mrx-6fxm-8jpg","url":"https://osv.dev/vulnerability/GHSA-4mrx-6fxm-8jpg","summary":"Buffer Overflow in vyper","modified":"2024-11-19T16:23:46.768315Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.2"],"fixed":["0.3.2"]}]},{"id":"PYSEC-2022-197","url":"https://osv.dev/vulnerability/PYSEC-2022-197","summary":"","modified":"2023-11-08T04:08:36.532748Z","packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<0.3.2"],"fixed":["0.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}