Live threats

All CVEs / Vyperlang

CVE-2022-24788Vyperlang Vyper

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Apr 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-120, CWE-119
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vyper.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI vyper < 0.3.2 0.3.2 pip install "vyper>=0.3.2"
PyPI vyper < 0.3.2 0.3.2 pip install "vyper>=0.3.2"

Per OSV / GitHub Advisories (GHSA-4mrx-6fxm-8jpg, PYSEC-2022-197). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vyperlangvyper< 0.3.2

Official sources

References

Links published by the sources. Open them with care.