CVE-2020-37288
MEDIUM 6.3CVSS 4.0Vyper: Return inside for loop more than 1 level deep
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.
- Published
- 21 Oct 2026
- Last modified
- 24 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-670CWE-691
- Also known as
- GHSA-vg88-3v92-rjx2
- Sources
- NVDJSONOSV GHSA-vg88-3v92-rjx2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | vyper | >= 0.1.0b10, < 0.2.3 | 0.2.3 |
References
- https://github.com/vyperlang/vyper/security/advisories/GHSA-vg88-3v92-rjx2 · WEB
- https://www.vulncheck.com/advisories/vyper-0.1-0b10-before-0.2.3-invalid-jump-destination-via-return-in-nested-loops
- 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
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Oct 2026)