← CVE Intelligence

CVE-2020-37287

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
vyperlang / vyperaffected 0 before 0.2.6; unaffected 0.2.6

CWE

CWE-131

References