{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f31f0ec406bbbd2055f125abd17278e3ac2ed84f"
            },
            {
              "fixed": "9136169468f317a53b4e7448389aa315f90b95ba"
            }
          ],
          "repo": "https://github.com/vyperlang/vyper",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cx2q-hfxr-rj97"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-682"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42460.json"
  },
  "details": "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.",
  "id": "CVE-2023-42460",
  "modified": "2026-04-01T23:10:09.202768749Z",
  "published": "2023-09-26T18:47:09.721Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42460.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vyperlang/vyper/security/advisories/GHSA-cx2q-hfxr-rj97"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42460"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vyperlang/vyper/pull/3626"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "_abi_decode input not validated in complex expressions in Vyper"
}