CVE-2020-37288 Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops

Medium 6.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2020-37288?

CVE-2020-37288 is a medium-severity vulnerability in vyperlang vyper, published on 21 Oct 2026.

Official 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.

Weakness: CWE-670

Which versions are affected by CVE-2020-37288?

2 open source packages ship an affected version, including vyper.

PackageAffectedFixed in
vyper PyPIFrom 0.1.0b100.2.3
vyper PyPIFrom 0.1.0b100.2.3

How do I fix CVE-2020-37288?

Upgrade vyper to 0.2.3 or later.

Is CVE-2020-37288 being exploited?

There is no known exploitation of CVE-2020-37288 in the wild and no public exploit code.

Sources

Also known as GHSA-4c59-5jcg-7qq8, GHSA-vg88-3v92-rjx2.

Is CVE-2020-37288 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free