Bug 2557986 (CVE-2021-48018) - CVE-2021-48018 vyper: Vyper: Contract state corruption via overlapping reentrancy lock allocation
Summary: CVE-2021-48018 vyper: Vyper: Contract state corruption via overlapping reentr...
Keywords:
Status: NEW
Alias: CVE-2021-48018
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2565621
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-21 00:57 UTC by OSIDB Bzimport
Modified: 2026-11-03 07:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-21 00:57:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.