Skip to main content
← All vulnerabilities
CVE-2020-37287GHSA-4V7V-GQF9-WW2G

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • vyperlang vyper

    fixed in 0.2.6

  • vyperPyPI

    fixed in 0.2.6

References 2

GitHub · vyperlang/vyper

vulncheck.com