{"id":"CVE-2023-42460","published":"2023-09-26T18:47:09Z","modified":"2024-09-24T13:45:05Z","title":"_abi_decode input not validated in complex expressions in Vyper","vendor":"vyperlang","product":"vyper","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00671,"percentile":0.52963,"provenance":"source"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/vyperlang/vyper/security/advisories/GHSA-cx2q-hfxr-rj97","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vyperlang/vyper/pull/3626","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.59},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"vyperlang","affectedVersions":[{"vendor":"vyperlang","product":"vyper","versions":[">= 0.3.4, < 0.3.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T13:20:49.007393Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vyper","vulnerableRanges":[">=0.3.4, <0.3.10"],"patched":["0.3.10"],"from":["GHSA-cx2q-hfxr-rj97","PYSEC-2023-191"],"provenance":"source"}],"summary":{"text":"The flaw is in Vyper, the Pythonic smart contract language for the EVM, in its _abi_decode() function, which fails to validate input when the call is nested inside a complex expression. An attacker who can get a contract compiled with such an expression to run can bypass bounds checking and obtain incorrect decoding results, and the attack is network-reachable with high complexity, low privileges, and no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:16Z"},"euvd":{"id":"EUVD-2023-0268","exploited":false,"provenance":"source"}}