CVE-2022-24845: Integer bounds error in Vyper

Published Apr 13, 2022
·
Updated

Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of <iface>.returnsint128() 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>.returnsint128() is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.

Affected Software

1 affected component
vyperlang vyper<0.3.2

Event History

Apr 13, 2022
CVE Published
via MITRE·09:15 PM
Data Sourced
via MITRE·09:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2022-24845?

CVE-2022-24845 is a vulnerability in the Vyper smart contract language for the Ethereum virtual machine.

2

What is the severity of CVE-2022-24845?

CVE-2022-24845 has a severity rating of 9.8 (critical).

3

How does CVE-2022-24845 affect Vyper?

CVE-2022-24845 affects versions up to and excluding 0.3.2 of Vyper.

4

What is the impact of CVE-2022-24845?

CVE-2022-24845 can lead to a misinterpretation of integer values and cause incorrect behavior in Vyper.

5

How can CVE-2022-24845 be fixed?

The issue has been fixed in the commit 049dbdc647b2ce838fae7c188e6bb09cf16e470b in the Vyper repository.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203