CVE-2021-48018

HIGH CVSS 4.0: 8.3 EPSS 0.39%
Updated Oct 23, 2026
Vyper
Parameter Value
CVSS 8.3 (HIGH)
Affected Versions before 0.2.15
Type CWE-787 (Out-of-bounds Write)
Vendor Vyper
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)