# CVE-2020-37289: Vyper before 0.3.1 Improper Input Validation of uint8 Interface Return Values

- 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:L/VA:N/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.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2020-03-25T18:20:19.000Z
- Modified: 2026-10-28T16:16:59.827Z
- Also known as: GHSA-mr6r-mvw4-736g
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

Vyper before 0.3.1 lacks a uint8 type, allowing interface return values declared as uint8, such as ERC20.decimals(), to be stored in uint256 variables without bounds checking. Malicious contracts can return values greater than 255 to manipulate or bypass contract logic that relies on these values.

(As written by CVE List.)

## Affected

- vyperlang vyper: before 0.3.1 (not affected: 0.3.1)
- vyper (PyPI): up to 0.1.0b16

## 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:L/VA:N/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:L/A:N`
- GitHub: rating Low

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-mr6r-mvw4-736g> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vyper-before-0.3.1-improper-input-validation-of-uint8-interface-return-values> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-37289](https://www.cve.org/CVERecord?id=CVE-2020-37289), CVE Terms of Use, modified 2026-10-28
- GitHub Advisory Database: [GHSA-mr6r-mvw4-736g](https://github.com/advisories/GHSA-mr6r-mvw4-736g), CC-BY-4.0, modified 2026-10-24
- NVD: [CVE-2020-37289](https://nvd.nist.gov/vuln/detail/CVE-2020-37289), Public domain, modified 2026-10-28

---

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