CVE-2026-70598: Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/electronto a version that resolves this vulnerability.Fixed in 42.0.0-beta.3 - Upgrade
Upgrade
npm/electronto a version that resolves this vulnerability.Fixed in 41.2.1 - Upgrade
Upgrade
npm/electronto a version that resolves this vulnerability.Fixed in 40.9.0 - Upgrade
Upgrade
npm/electronto a version that resolves this vulnerability.Fixed in 39.8.10 - Upgrade
Upgrade
Electronto a version that resolves this vulnerability.Fixed in 39.8.10 - Upgrade
Upgrade
Electronto a version that resolves this vulnerability.Fixed in 40.9.0 - Upgrade
Upgrade
Electronto a version that resolves this vulnerability.Fixed in 41.2.1 - Upgrade
Upgrade
Electronto a version that resolves this vulnerability.Fixed in 42.0.0-beta.3
Event History
Frequently Asked Questions
What is the severity of CVE-2026-70598?
The severity of CVE-2026-70598 is categorized as low with a score of 3.9.
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.
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.
Which software is affected by CVE-2026-70598?
CVE-2026-70598 affects the Electron framework used for building desktop applications.
When was CVE-2026-70598 published?
CVE-2026-70598 was published on August 5, 2026.