Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-70598

CVE-2026-70598: Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size

August 5, 2026

In offscreen rendering mode, 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.

Apps are only affected if they use offscreen rendering (webPreferences.offscreen) and an attacker has separately gained code execution in the GPU process. Apps that do not use offscreen rendering are not affected.

References

  • github.com/advisories/GHSA-pfmc-3mgc-p6fp
  • github.com/electron/electron/commit/2c24640e7b0b9c74fe9f44bce0fde138340ff4fb
  • github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp
  • nvd.nist.gov/vuln/detail/CVE-2026-70598

Code Behaviors & Features

Detect and mitigate CVE-2026-70598 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 39.8.10, all versions starting from 40.0.0-alpha.1 before 40.9.0, all versions starting from 41.0.0-alpha.1 before 41.2.1, all versions starting from 42.0.0-alpha.1 before 42.0.0-beta.3

Fixed versions

  • 39.8.10
  • 40.9.0
  • 41.2.1
  • 42.0.0-beta.3

Solution

Upgrade to versions 39.8.10, 40.9.0, 41.2.1, 42.0.0-beta.3 or above.

Impact 3.9 LOW

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

npm/electron/CVE-2026-70598.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:51 +0000.