What’s Vulnerable › Vulnerabilities
CVE-2024-32648: vyper default functions don't respect nonreentrancy keys
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-25 · updated 2026-06-17
- Weakness: CWE-667
Description
Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Prior to version 0.3.0, default functions don't respect nonreentrancy keys and the lock isn't emitted. No vulnerable production contracts were found. Additionally, using a lock on a `default` function is a very sparsely used pattern. As such, the impact is low. Version 0.3.0 contains a patch for the issue.
Affected products
- vyperlang vyper: before 0.3.0 — fixed in 0.3.0
How to fix
Upgrade to a fixed version: vyperlang vyper 0.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177
- https://github.com/vyperlang/vyper/issues/2455
- https://github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9
- https://github.com/vyperlang/vyper/commit/93287e5ac184b53b395c907d40701f721daf8177
- https://github.com/vyperlang/vyper/issues/2455
- https://github.com/vyperlang/vyper/security/advisories/GHSA-m2v9-w374-5hj9
Get alerted when CVE-2024-32648 or the next vulnerability affects your stack