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

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-02)
- Published: 2026-10-06T15:20:10.000Z
- Modified: 2026-10-24T02:56:09.007Z
- Also known as: GHSA-vg88-3v92-rjx2
- Weaknesses: CWE-670, CWE-691
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- vyperlang vyper: from 0.1.0b10 before 0.2.3 (not affected: 0.2.3)
- vyper (PyPI): from 0.1.0b10 before 0.2.3

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-vg88-3v92-rjx2> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vyper-0.1-0b10-before-0.2.3-invalid-jump-destination-via-return-in-nested-loops> (third-party-advisory)
- <https://github.com/vyperlang/vyper/pull/2110> (web)
- <https://github.com/vyperlang/vyper/commit/a1d92e5eb968a34a23850359656aee23334adb90> (web)
- <https://github.com/vyperlang/vyper> (package)
- <https://github.com/vyperlang/vyper/releases/tag/v0.2.3> (web)

## Sources

- CVE List: [CVE-2020-37288](https://www.cve.org/CVERecord?id=CVE-2020-37288), CVE Terms of Use, modified 2026-10-21
- GitHub Advisory Database: [GHSA-vg88-3v92-rjx2](https://github.com/advisories/GHSA-vg88-3v92-rjx2), CC-BY-4.0, modified 2026-10-24
- NVD: [CVE-2020-37288](https://nvd.nist.gov/vuln/detail/CVE-2020-37288), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2020-37288 · Whole record: https://cve.day/CVE-2020-37288.json · Rebuilt by cve.day 2026-11-25T22:57:59.136Z
