Live threats

All CVEs / Vyperlang

CVE-2022-24845Vyperlang Vyper

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Apr 13, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
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. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround 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-j2x6-9323-fp7h, PYSEC-2022-198). 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.