5.9Medium

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

vyperlang vyper Published: (25 days ago)

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.

Weakness (CWE): CWE-131

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
vyperlang vyper < 0.2.6, fixed 0.2.6

References and patches