1. Home
  2. Vulnerabilities
  3. CVE-2020-37287

CVE-2020-37287

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

Published 21 Oct 2026 · modified 28 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

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))
Vyperlang
ProductVersionsFixed inSource
Vyper before 0.2.6 (excluded) — CNA (vendor or assigner)
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
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

  1. — CVE published (cve)

CERT-FR advisories

References

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)

How this data is obtained and calculated