CVE-2020-37289

MEDIUM CVSS 4.0: 6.3 EPSS 0.26%
Updated Oct 28, 2026
Vyperlang
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 0.3.1
Fixed In 0.3.1
Type CWE-20 (Improper Input Validation)
Vendor Vyperlang
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Vyperlang Vyper
cpe:2.3:a:vyperlang:vyper:*:*:*:*:*:*:*:*
— 0.3.1