{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "39.8.10"
              },
              {
                "introduced": "40.0.0-alpha.1"
              },
              {
                "fixed": "40.9.0"
              },
              {
                "introduced": "41.0.0-alpha.1"
              },
              {
                "fixed": "41.2.1"
              },
              {
                "introduced": "42.0.0-alpha.1"
              },
              {
                "fixed": "42.0.0-beta.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "a01b4becfa7bf770d2abc6f2fef7076b10005b0d"
            },
            {
              "introduced": "486a9a61d2723755adc4be5e407888d755ee3b9c"
            },
            {
              "introduced": "f4a50a8fde877075ce3877efd54578997d5e7ece"
            },
            {
              "fixed": "d7c42ebd5cd501a0e6d9f009e232369832f92d69"
            },
            {
              "fixed": "ea4a478a8845bc9a00064918dab6f32477807d41"
            },
            {
              "fixed": "8ee008ad48671e179d1b8258879871709babfff3"
            },
            {
              "fixed": "ef664710a0d51735b0a67f04e1fe01f8484351d7"
            },
            {
              "fixed": "2c24640e7b0b9c74fe9f44bce0fde138340ff4fb"
            }
          ],
          "repo": "https://github.com/electron/electron",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pfmc-3mgc-p6fp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70598.json"
  },
  "details": "Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3, offscreen rendering frame data received from the GPU process was not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing paint event images, disclosing memory or crashing the app. This issue is fixed in 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3.",
  "id": "CVE-2026-70598",
  "modified": "2026-08-07T11:31:30.209756496Z",
  "published": "2026-08-05T15:27:24.392Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70598.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70598"
    },
    {
      "type": "FIX",
      "url": "https://github.com/electron/electron/commit/2c24640e7b0b9c74fe9f44bce0fde138340ff4fb"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size"
}