CVE-2020-37287
published high CVSS 4.0 · 8.2Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vyperlang | — | vyper0 to < 0.2.6 (affected · python) · 0.2.6 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
Vyper before 0.2.6 contains a call stack corruption vulnerability that causes incorrect function outputs when complex types with non-base members are passed as arguments. Contracts passing multi-dimensional arrays or structs to internal or external functions receive corrupted values because the compiler assumed each subtype size is 32.
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.2 / 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:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vyperlang | vyper | 0 to < 0.2.6 (affected · python)0.2.6 (unaffected · python)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-131 Incorrect Calculation of Buffer Size
References
2- GitHub Security Advisory (GHSA-4v7v-gqf9-ww2g) https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2g
- VulnCheck Advisory: Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-via-complex-type-function-arguments
Provider assertions
2VulnCheck · cna
Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44c42802acc7492123bdf6ebb2dda238340c26965269ca837a6a25d8297eae42
- Ingested
- 28 Oct 2026, 15:11:24 UTC
- Source record
- Official CVE record