Live threats

All CVEs / Vyperlang

CVE-2024-32649Vyperlang Vyper

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Apr 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. In versions 0.3.10 and prior, using the `sqrt` builtin can result in double eval vulnerability when the argument has side-effects. It can be seen that the `build_IR` function of the `sqrt` builtin doesn't cache the argument to the stack. As such, it can be evaluated multiple times (instead of retrieving the value from the stack). No vulnerable production contracts were found. Additionally, double evaluation of side-effects should be easily discoverable in client tests. As such, the impact is low. As of time of publication, no fixed versions are available.

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.4.0 0.4.0 pip install "vyper>=0.4.0"
PyPI vyper < 0.4.0 0.4.0 pip install "vyper>=0.4.0"

Per OSV / GitHub Advisories (GHSA-5jrj-52x8-m64h, PYSEC-2024-209). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vyperlangvyper< 0.4.0

Official sources

References

Links published by the sources. Open them with care.