Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2020-37287

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vyperlang vyper

Default version status: unaffected

  • 0 to < 0.2.6affected
  • 0.2.6unaffected
pkg:pypi/vyper

References