CVE-2021-48020
published high CVSS 4.0 · 8.3Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vyperlang | — | vyper0.1.0b4 to < 0.3.0 (affected · python) · 0.3.0 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vyperlang | vyper | 0.1.0b4 to < 0.3.0 (affected · python)0.3.0 (unaffected · python)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
2- GitHub Security Advisory (GHSA-22wc-c9wj-6q2v) https://github.com/vyperlang/vyper/security/advisories/GHSA-22wc-c9wj-6q2v
- VulnCheck Advisory: Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays https://www.vulncheck.com/advisories/vyper-before-0.3.0-memory-corruption-via-internal-function-calls-in-arrays
Provider assertions
2VulnCheck · cna
Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b848b8a14ba78faf72f5413db86ae5ef0286bb3aa586ec39e23798ed032a36d
- Ingested
- 28 Oct 2026, 15:21:30 UTC
- Source record
- Official CVE record