Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables.
- CVSS
- 7.4High
- Chance of exploitation (EPSS)
- 0.39%
- Published
- Oct 21, 2026
- In the news
- Not yet
What to do
A serious memory corruption flaw in Vyper that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 0.2.15
Affected versions
- Vyper
- 0.2.13 to before 0.2.15
Description
Vyper from 0.2.13 before 0.2.15 allocates storage slots for @nonreentrant reentrancy locks at the same locations as contract storage variables. When a function using @nonreentrant is called, setting the lock overwrites the overlapping storage variable, corrupting contract state and breaking the contract's intended logic.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2021-48018 published (CVSS 7.4) (Oct 20, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Oct 21, 2026
- CVECVE-2021-48018 published (CVSS 7.4)CVE Program · 01:17 UTC
References 2
- github.com /vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64
- www.vulncheck.com /advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decorator