CVE-2021-48018

CVE-2021-48018CVE-2021-48018

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.

Scoring

CVSS 7.4 ()
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Last modified2026-10-21
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.