CVE-2021-48018
High
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.
SeverityHigh
CVSS7.4
Exploit probability—
Product
Vyper
PublishedOct 21, 2026
First seenOct 21, 2026
Weakness typeCWE-787Out-of-bounds write
How to fix
Update
- vyper0.2.15 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vyperPyPI | 0.2.13 ≤ v < 0.2.15 | 0.2.15 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.