{"id":"CVE-2021-48018","revision":"536e4256280d468ba73069216b38cb83","records":[{"revision":"536e4256280d468ba73069216b38cb83","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2021-48018","aliases":[],"title":"Vyper 0.2.13 before 0.2.15 Storage Corruption via @nonreentrant Decorator","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.","state":0,"publishedAt":"2026-10-21T00:36:18.265+00:00","modifiedAt":"2026-10-23T14:57:15.214+00:00","affected":[{"ecosystem":"Vendor product","name":"vyper","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"vyperlang\",\n                    \"product\": \"vyper\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:pypi/vyper\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.2.13\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"python\",\n                            \"lessThan\": \"0.2.15\"\n                        },\n                        {\n                            \"version\": \"0.2.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"python\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.3,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","score":7.4,"severity":"HIGH"}],"references":["https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64","https://www.vulncheck.com/advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decorator"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-48018","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-48018","identifiers":["CVE-2021-48018"]},"retained":false,"historicalAffected":[]}],"coverage":[]}