CVE-2023-30837
HIGH 7.5CVSS 3.1vyper vulnerable to storage allocator overflow
Vyper is a pythonic smart contract language for the EVM. The storage allocator does not guard against allocation overflows in versions prior to 0.3.8. An attacker can overwrite the owner variable. This issue was fixed in version 0.3.8.
- Published
- 8 May 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-789
- Also known as
- GHSA-mgv8-gggw-mrg6PYSEC-2023-76
- Sources
- NVDJSONOSV GHSA-mgv8-gggw-mrg6JSONOSV PYSEC-2023-76JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vyperlang | vypercpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:* |
< 0.3.8 | 0.3.8 |
| OSV | PyPI | vyper | < 0.3.8 | 0.3.8 |
References
- https://github.com/vyperlang/vyper/commit/0bb7203b584e771b23536ba065a6efda457161bb · Patch, WEB, FIX
- https://github.com/vyperlang/vyper/security/advisories/GHSA-mgv8-gggw-mrg6 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-30837 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2023-76.yaml · WEB
- https://github.com/vyperlang/vyper · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 8 May 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 May 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2023)