{"id":"CVE-2021-48018","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-48018","generatedAt":"2026-10-27T21:46:03.588Z","title":"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.","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.","published":"2026-10-21T01:17:19.000Z","lastModified":"2026-10-23T15:17:20.000Z","status":"Deferred","sourceIdentifier":"disclosure@vulncheck.com","cvss":{"version":"4.0","score":8.3,"severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-787"],"affected":[],"epss":{"score":0.00391,"percentile":0.33019,"date":"2026-10-26","history":[{"date":"2026-10-21","score":0.00321,"percentile":0.23756}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-21T01:17:19.000Z","detail":{"score":"8.3","severity":"HIGH","publishedAt":"2026-10-21T01:17:18.983Z"},"summary":"New CVE, high severity (CVSS 8.3)."}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-7f92-rr6w-cq64","source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/vyper-0.2.13-before-0.2.15-storage-corruption-via-nonreentrant-decorator","source":"disclosure@vulncheck.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-48018","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}