CVE-2021-48020

published 21 Oct 2026 · updated 28 Oct 2026

Vyper before 0.3.0 Memory Corruption via Internal Function Calls in Arrays

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vyperlang>=0.1.0b4 <0.3.00.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-48020 severity on Zeptric[![CVE-2021-48020](https://zeptric.io/badge/cve/CVE-2021-48020.svg)](https://zeptric.io/cve/CVE-2021-48020)