# CVE-2020-37287: Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-10-06T15:22:23.000Z
- Modified: 2026-10-28T15:17:01.293Z
- Also known as: GHSA-4v7v-gqf9-ww2g
- Weaknesses: CWE-131, CWE-682
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- vyperlang vyper: before 0.2.6 (not affected: 0.2.6)
- vyper (PyPI): before 0.2.6

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-4v7v-gqf9-ww2g> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vyper-before-0.2.6-call-stack-corruption-via-complex-type-function-arguments> (third-party-advisory)
- <https://github.com/vyperlang/vyper/issues/2183> (web)
- <https://github.com/vyperlang/vyper/pull/2184> (web)
- <https://github.com/vyperlang/vyper/commit/0be02b7331e8febe79d5a4218829c72e30417a29> (web)
- <https://github.com/vyperlang/vyper> (package)
- <https://github.com/vyperlang/vyper/releases/tag/v0.2.6> (web)

## Sources

- CVE List: [CVE-2020-37287](https://www.cve.org/CVERecord?id=CVE-2020-37287), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-4v7v-gqf9-ww2g](https://github.com/advisories/GHSA-4v7v-gqf9-ww2g), CC-BY-4.0, modified 2026-10-24
- NVD: [CVE-2020-37287](https://nvd.nist.gov/vuln/detail/CVE-2020-37287), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2020-37287 · Whole record: https://cve.day/CVE-2020-37287.json · Rebuilt by cve.day 2026-11-25T22:57:59.135Z
