- Home
- Vulnerabilities
- CVE-2020-37287
CVE-2020-37287
Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments
Low
33/100
Summary
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.
Affected products and versions
Vyperlang (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Vyper | before 0.2.6 (excluded) |
— | CNA (vendor or assigner) |
Pypi (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| vyper | before 0.2.6 (excluded) |
0.2.6 |
GitHub Advisory |
Fix
Upgrade — PyPI/vyper 0.2.6official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-4v7v-gqf9-ww2g — Vyper: Call stack corruption when passing complex type containing non-base type members as argument 6 Oct 2026
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2gvendor-advisory
- https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-via-complex-type-function-argumentsthird-party-advisory
- https://github.com/vyperlang/vyper/issues/2183WEB
- https://github.com/vyperlang/vyper/pull/2184WEB
- https://github.com/vyperlang/vyper/commit/0be02b7331e8febe79d5a4218829c72e30417a29WEB
- https://github.com/vyperlang/vyperPACKAGE
- https://github.com/vyperlang/vyper/releases/tag/v0.2.6WEB
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, NVD)- Weakness
- CWE-131 · Autre (CWE-131)