PT-2026-120159

CVE-2021-48018

·

Published

2021-08-05

·

Updated

2026-10-21

Description by

CVSS 4.0
8.3
High
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions Vyper versions 0.2.13 through 0.2.14
Description Storage slots for reentrancy locks using the @nonreentrant decorator are allocated at the same locations as contract storage variables. When a function utilizing @nonreentrant is executed, the lock mechanism overwrites the overlapping storage variable, which corrupts the contract state and disrupts the intended logic.
Recommendations Update to version 0.2.15. As a temporary workaround, avoid using the @nonreentrant decorator.
Exploitability
Fix
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-7F92-RR6W-CQ64
Found an issue in the description? Have something to add? Feel free to write us 👾