{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-37289","id":"CVE-2020-37289","title":"Vyper contract logic bypass in unchecked uint8 interface returns","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.","descriptionLong":"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.","published":"2026-10-21T00:36:17.573Z","updated":"2026-10-30T02:45:07.312104473Z","reserved":"2026-10-20T21:53:41.760Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":6.3,"vector":"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/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","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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/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","rating":"unrated","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"VulnCheck"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"vulncheck.com"}],"rating":"medium","products":["vyperlang vyper"],"affectedProducts":[{"vendor":"vyperlang","product":"vyper","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"python","lessThan":"0.3.1"},{"version":"0.3.1","status":"unaffected","versionType":"python"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"vyper","purl":"pkg:pypi/vyper","ranges":["<=0.1.0b16"],"fixed":[],"advisory":"GHSA-mr6r-mvw4-736g"}],"cwes":["CWE-20"],"aliases":["GHSA-mr6r-mvw4-736g"],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-mr6r-mvw4-736g","tags":["vendor-advisory","advisory","web"]},{"url":"https://www.vulncheck.com/advisories/vyper-before-0.3.1-improper-input-validation-of-uint8-interface-return-values","tags":["third-party-advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00261,"epssPercentile":0.18103,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-37289","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-37289","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-37289","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mr6r-mvw4-736g","ok":true,"note":"GHSA-mr6r-mvw4-736g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-37289","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}