{"id":"CVE-2021-48018","aliases":["GHSA-7f92-rr6w-cq64"],"url":"https://o3.security/vulnerability/CVE-2021-48018","summary":"Storage corruption due to variables overwritten by re-entrancy locks","details":"### Background\nWhen attempting to use the v0.2.14 release, @pandadefi discovered an issue using the `@nonreentrant` decorator.\n\n### Impact\nReentrancy protection storage slots get allocated to the same slots as storage variables, leading to the corruption of storage variables when using the `@nonreentrant` decorator.\n\n### Patches\nThis issue was fixed in v0.2.15 in #2391, #2379\n\n### Workarounds\nDon't use the `@nonreentrant` decorator in these versions.","published":"2026-10-21T01:17:18.983Z","modified":"2026-10-25T02:45:06.075575157Z","cvss":null,"epss":{"score":0.00468,"percentile":0.32603,"asOf":"2026-11-26"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"vyper","fixedVersion":"0.2.15"}],"fix":{"url":"https://github.com/vyperlang/vyper/pull/2379","label":"vyperlang/vyper#2379"},"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"},{"type":"WEB","url":"https://github.com/vyperlang/vyper/pull/2379"},{"type":"WEB","url":"https://github.com/vyperlang/vyper/pull/2391"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-25T02:45:06.075575157Z"}}