What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: electron 39.8.10, 40.9.0, 41.2.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-70598 or the next vulnerability affects your stack