CVE-2023-32675Vyperlang Vyper
Medium 5.3 No auth needed
Follow: this CVE · Vyperlang · Vyperlang Vyper We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- No
- Published
- May 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-670
- SSVC (CISA)
- Exploitation: none · Automatable: no · 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 contracts with more than one regular nonpayable function, it is possible to send funds to the default function, even if the default function is marked `nonpayable`. This applies to contracts compiled with vyper versions prior to 0.3.8. This issue was fixed by the removal of the global `calldatasize` check in commit `02339dfda`. Users are advised to upgrade to version 0.3.8. Users unable to upgrade should avoid use of nonpayable default functions.
What to do
- Apply the vendor's security update for Vyper.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-vxmm-cwh2-q762, PYSEC-2023-80). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vyperlang | vyper | < 0.3.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Patch Vendor Advisory