{"id":"CVE-2021-48018","details":"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.","aliases":["GHSA-7f92-rr6w-cq64"],"modified":"2026-10-25T02:45:06.075575157Z","published":"2026-10-21T01:17:18.983Z","database_specific":{},"references":[{"type":"ADVISORY","url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decorator"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vyperlang/vyper","events":[{"introduced":"d2f0a96e3581fee1f7668a0299c0240e1fb90f1c"},{"fixed":"6e7dba7a8b5f29762d3470da4f44634b819c808d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.2.13"},{"fixed":"0.2.15"}],"source":"DESCRIPTION"}]}}],"versions":["v0.2.14","v0.2.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-48018.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV: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"}]}