CVE-2021-48018

published 21 Oct 2026 · updated 23 Oct 2026

Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator

7.4HighCVSS 7.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.2.15.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vyperlang>=0.2.13 <0.2.150.2.15

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-48018 severity on Zeptric[![CVE-2021-48018](https://zeptric.io/badge/cve/CVE-2021-48018.svg)](https://zeptric.io/cve/CVE-2021-48018)