CVE-2020-37289

published 21 Oct 2026 · updated 28 Oct 2026

Vyper before 0.3.1 Improper Input Validation of uint8 Interface Return Values

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.3.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vyperlang<0.3.10.3.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-37289 severity on Zeptric[![CVE-2020-37289](https://zeptric.io/badge/cve/CVE-2020-37289.svg)](https://zeptric.io/cve/CVE-2020-37289)