CVE-2020-37288
published medium CVSS 4.0 · 6.3Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vyperlang | — | vyper0.1.0b10 to < 0.2.3 (affected · python) · 0.2.3 (unaffected · python) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vyperlang | vyper | 0.1.0b10 to < 0.2.3 (affected · python)0.2.3 (unaffected · python)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-670 Always-Incorrect Control Flow Implementation
References
2- GitHub Security Advisory (GHSA-vg88-3v92-rjx2) https://github.com/vyperlang/vyper/security/advisories/GHSA-vg88-3v92-rjx2
- VulnCheck Advisory: Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops https://www.vulncheck.com/advisories/vyper-0.1-0b10-before-0.2.3-invalid-jump-destination-via-return-in-nested-loops
Provider assertions
2VulnCheck · cna
Vyper 0.1.0b10 before 0.2.3 Invalid Jump Destination via Return in Nested Loops
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cadae045eb9c481571d4b5d9c30a6b4d4a26ff9d885c16680dfb4c2a72e82912
- Ingested
- 21 Oct 2026, 15:58:42 UTC
- Source record
- Official CVE record