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

Published Aug 5, 2026
·
Updated

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

Workarounds There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions 42.0.0-beta.3 41.2.1 40.9.0 39.8.10

For more information If you have any questions or comments about this advisory, email us at security@electronjs.org

Other sources

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.

— MITRE

Affected Software

15 affected componentsFixes available
npm/electron>=42.0.0-alpha.1<42.0.0-beta.3
42.0.0-beta.3
npm/electron>=41.0.0-alpha.1<41.2.1
41.2.1
npm/electron>=40.0.0-alpha.1<40.9.0
40.9.0
npm/electron<39.8.10
39.8.10
electronjs Electron Node.js<39.8.10
electronjs Electron Node.js>=40.0.0<40.9.0
electronjs Electron Node.js>=41.0.0<41.2.1
electronjs Electron Node.js=42.0.0-alpha1
electronjs Electron Node.js=42.0.0-alpha2
electronjs Electron Node.js=42.0.0-alpha3
electronjs Electron Node.js=42.0.0-alpha4
electronjs Electron Node.js=42.0.0-alpha5
electronjs Electron Node.js=42.0.0-alpha6
electronjs Electron Node.js=42.0.0-beta1
electronjs Electron Node.js=42.0.0-beta2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/electron to a version that resolves this vulnerability.

    Fixed in 42.0.0-beta.3
  2. Upgrade

    Upgrade npm/electron to a version that resolves this vulnerability.

    Fixed in 41.2.1
  3. Upgrade

    Upgrade npm/electron to a version that resolves this vulnerability.

    Fixed in 40.9.0
  4. Upgrade

    Upgrade npm/electron to a version that resolves this vulnerability.

    Fixed in 39.8.10
  5. Upgrade

    Upgrade Electron to a version that resolves this vulnerability.

    Fixed in 39.8.10
  6. Upgrade

    Upgrade Electron to a version that resolves this vulnerability.

    Fixed in 40.9.0
  7. Upgrade

    Upgrade Electron to a version that resolves this vulnerability.

    Fixed in 41.2.1
  8. Upgrade

    Upgrade Electron to a version that resolves this vulnerability.

    Fixed in 42.0.0-beta.3

Event History

Aug 5, 2026
CVE Published
via MITRE·03:27 PM
Data Sourced
via MITRE·03:27 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:27 PM
Data Sourced
via GitHub·03:27 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-70598?

The severity of CVE-2026-70598 is categorized as low with a score of 3.9.

2

What risks are associated with CVE-2026-70598?

CVE-2026-70598 can lead to the main process reading out-of-bounds memory, potentially disclosing sensitive information or causing app crashes.

3

How do I fix CVE-2026-70598?

To fix CVE-2026-70598, it is recommended to update to the latest version of Electron where the vulnerability has been addressed.

4

Which software is affected by CVE-2026-70598?

CVE-2026-70598 affects the Electron framework used for building desktop applications.

5

When was CVE-2026-70598 published?

CVE-2026-70598 was published on August 5, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203