Skip to content
OpenAdvisories
High · 7.4 CVE-2021-48018 EUVD-2021-34888GHSA-57w3-rr8j-wp9cGHSA-7f92-rr6w-cq64

Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator

Published Oct 21, 2026 · Updated Oct 23, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
vyperlang vyper 0.2.13 – < 0.2.15 0.2.15

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper >= 0.2.13, < 0.2.15 0.2.15 GHSA-7f92-rr6w-cq64

References