Skip to content
OpenAdvisories
Medium · 5.9 CVE-2020-37287 EUVD-2020-31283GHSA-4v7v-gqf9-ww2gGHSA-cqxq-3fq9-6g4p

Vyper before 0.2.6 Call Stack Corruption via Complex Type Function Arguments

Published Oct 21, 2026 · Updated Oct 28, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
vyperlang vyper < 0.2.6 0.2.6

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper < 0.2.6 0.2.6 GHSA-4v7v-gqf9-ww2g

References