CVE-2023-42460

_abi_decode input not validated in complex expressions in Vyper

Published Sep 26, 2023 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue has not yet been fixed, but a fix is expected in release `0.3.10`. Users are advised to reference pull request #3626.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0268 Vyper is a Pythonic Smart Contract Language for the EVM. The `_abi_decode()` function does not validate input when it is nested in an expression. Uses of `_abi_decode()` can be constructed which allow for bounds checking to be bypassed resulting in incorrect results. This issue has not yet been fixed, but a fix is expected in release `0.3.10`. Users are advised to reference pull request #3626.
Github GHSA Github GHSA GHSA-cx2q-hfxr-rj97 Vyper's `_abi_decode` input not validated in complex expressions
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2024, 1:45 PM
Reserved
Sep 8, 2023, 8:57 PM
Status
Modified
Published
Sep 27, 2023, 3:19 PM
Modified
Jun 17, 2026, 6:23 AM