Live threats

All CVEs / Vyperlang

CVE-2023-32058Vyperlang Vyper

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
May 11, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Vyper is a Pythonic smart contract language for the Ethereum virtual machine. Prior to version 0.3.8, due to missing overflow check for loop variables, by assigning the iterator of a loop to a variable, it is possible to overflow the type of the latter. The issue seems to happen only in loops of type `for i in range(a, a + N)` as in loops of type `for i in range(start, stop)` and `for i in range(stop)`, the compiler is able to raise a `TypeMismatch` when trying to overflow the variable. The problem has been patched in version 0.3.8.

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.8 0.3.8 pip install "vyper>=0.3.8"
PyPI vyper < 0.3.8 0.3.8 pip install "vyper>=0.3.8"

Per OSV / GitHub Advisories (GHSA-6r8q-pfpv-7cgj, PYSEC-2023-78). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vyperlangvyper< 0.3.8

Official sources

References

Links published by the sources. Open them with care.