cve.bz

CVE-2020-37289 vyperlang vyper: Improper Input Validation

6.3 mediumEPSS 0.3%

Medium (6.3) in vyperlang vyper. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
0.3% (unchanged from 0.3% a week ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2020-37289 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-37289?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-37289?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-37289 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
vyperlang vyperbefore 0.3.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mr6r-mvw4-736gPyPIvyper<=0.1.0b16no fix published

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability is rated as Low severity because Vyper is not packaged or supported across Red Hat offerings, and successful exploitation requires strict prerequisites involving interactions with adversarial external contracts. In affected environments, an attacker must induce a compiled contract into processing unverified integer responses from an untrusted call, limiting the blast radius to targeted contract workflows. Consequently, standard Red Hat enterprise environments remain unaffected.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-37289.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON