Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-0355 Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.
Github GHSA Github GHSA GHSA-j2x6-9323-fp7h Integer bounds error in Vyper
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-22T18:15:47.013Z

Reserved: 2022-02-10T00:00:00.000Z

Link: CVE-2022-24845

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-13T22:15:08.330

Modified: 2024-11-21T06:51:13.490

Link: CVE-2022-24845

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses