Skip to content
OpenAdvisories
Low · 3.7 CVE-2020-37288 EUVD-2020-31284GHSA-4c59-5jcg-7qq8GHSA-vg88-3v92-rjx2

Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops

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

Description

Vyper from 0.1.0b10 before 0.2.3 generates incorrect code for a return statement inside a for loop in an internal function called two or more internal calls deep, producing an invalid jump destination (stack underflow). Affected contracts revert such calls unnecessarily, which in limited circumstances could enable denial of service against public contracts.

Affected products

VendorProductAffectedFixed
vyperlang vyper 0.1.0b10 – < 0.2.3 0.2.3

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vyper >= 0.1.0b10, < 0.2.3 0.2.3 GHSA-vg88-3v92-rjx2

References