Live threats

All CVEs / Vyperlang

CVE-2024-24559Vyperlang Vyper

Medium 5.3 No auth needed

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

What happens

Vyper is a Pythonic Smart Contract Language for the EVM. There is an error in the stack management when compiling the `IR` for `sha3_64`. Concretely, the `height` variable is miscalculated. The vulnerability can't be triggered without writing the `IR` by hand (that is, it cannot be triggered from regular vyper code). `sha3_64` is used for retrieval in mappings. No flow that would cache the `key` was found so the issue shouldn't be possible to trigger when compiling the compiler-generated `IR`. This issue isn't triggered during normal compilation of vyper code so the impact is low. At the time of publication there is no patch 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.0b1 0.4.0b1 pip install "vyper>=0.4.0b1"

Per OSV / GitHub Advisories (GHSA-6845-xw22-ffxv, PYSEC-2024-147). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vyperlangvyper≤ 0.3.10

Official sources

References

Links published by the sources. Open them with care.