{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.3.8"
                  },
                  {
                    "last_affected": "0.5.0b1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1fb7dfe2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "036f153683e0d55b890305eb4c77680a0872fcba"
            },
            {
              "last_affected": "577d2534356903076bb79b5b15ebd4d772994693"
            },
            {
              "fixed": "1fb7dfe2"
            }
          ],
          "repo": "https://github.com/vyperlang/vyper",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cw3h-xwxq-8cx2"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-843"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114115.json"
  },
  "details": "Vyper 0.3.8 through 0.5.0b1 contains a compiler miscompilation vulnerability in parse_IfExp that reads nested arrays with narrower inner bounds using the wider result type's memory layout. When a ternary selects the narrower array, inner arrays after the first are read at wrong offsets, causing contracts to silently store corrupted values or revert.",
  "id": "CVE-2026-114115",
  "modified": "2026-10-22T02:30:15.048292697Z",
  "published": "2026-10-21T00:37:13.251Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114115.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vyperlang/vyper/commit/1fb7dfe2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vyperlang/vyper/security/advisories/GHSA-cw3h-xwxq-8cx2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114115"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/vyper-0.3.8-through-0.5-0b1-memory-misread-via-ternary-nested-array-selection"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Vyper 0.3.8 through 0.5.0b1 Memory Misread via Ternary Nested Array Selection"
}