# CVE-2023-42460: _abi_decode input not validated in complex expressions in Vyper

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-26T18:47:09.721Z
- Modified: 2026-06-17T06:23:52.767Z
- Also known as: GHSA-cx2q-hfxr-rj97, PYSEC-2023-191
- Weaknesses: CWE-682
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vyperlang vyper: >= 0.3.4, < 0.3.10; from 0.3.4 before 0.3.10
- vyper (PyPI): from 0.3.4 before 0.3.10

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/vyperlang/vyper/security/advisories/GHSA-cx2q-hfxr-rj97> (exploit, advisory, patch, third-party-advisory, web)
- <https://github.com/vyperlang/vyper/pull/3626> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42460> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/vyper/PYSEC-2023-191.yaml> (web)
- <https://github.com/vyperlang/vyper> (package)

## Sources

- CVE List: [CVE-2023-42460](https://www.cve.org/CVERecord?id=CVE-2023-42460), CVE Terms of Use, modified 2024-09-24
- GitHub Advisory Database: [GHSA-cx2q-hfxr-rj97](https://github.com/advisories/GHSA-cx2q-hfxr-rj97), CC-BY-4.0, modified 2024-11-19
- NVD: [CVE-2023-42460](https://nvd.nist.gov/vuln/detail/CVE-2023-42460), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-191](https://osv.dev/vulnerability/PYSEC-2023-191), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-42460 · Whole record: https://cve.day/CVE-2023-42460.json · Rebuilt by cve.day 2026-11-25T22:58:28.176Z
