Skip to content
OpenAdvisories
Medium · 6.5 CVE-2021-48020 EUVD-2021-34890GHSA-22wc-c9wj-6q2vGHSA-vq78-2j7f-9gqx

Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

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

Description

Vyper from 0.1.0b4 before 0.3.0 contains a memory corruption vulnerability caused by an incorrect stack tip pointer when internal function calls are performed inside arrays. Contracts placing internal calls in nested array elements, external call arguments, struct literals, or raw_log topics can have memory corrupted, producing incorrect contract behavior.

Affected products

VendorProductAffectedFixed
vyperlang vyper 0.1.0b4 – < 0.3.0 0.3.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper < 0.2.12 0.2.12 GHSA-22wc-c9wj-6q2v

References