CVE-2021-48018vyperlang vyper
High 8.3 No auth needed
Follow: this CVE · vyperlang · vyperlang vyper We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 4.0
- 8.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 33
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for vyper.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | vyper |
≥ 0.2.13 < 0.2.15 |
0.2.15 |
pip install "vyper>=0.2.15" |
Per OSV / GitHub Advisories (GHSA-7f92-rr6w-cq64). Check the version in your lockfile before upgrading.
Affected products
- vyperlang · vyper
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.