Live threats

All CVEs / Vyperlang

CVE-2024-24561Vyperlang Vyper

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Feb 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119, CWE-787
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · 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 versions 0.3.10 and earlier, the bounds check for slices does not account for the ability for start + length to overflow when the values aren't literals. If a slice() function uses a non-literal argument for the start or length variable, this creates the ability for an attacker to overflow the bounds check. This issue can be used to do OOB access to storage, memory or calldata addresses. It can also be used to corrupt the length slot of the respective array.

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-9x7f-gwxq-6f2c, PYSEC-2024-149). 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.