Vulnerability · Published Aug 5, 2026 · Assigned by GitHub_M
CVE-2026-70598Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
Low 3.9
In plain English
A low-severity out-of-bounds read in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | electron | 39.8.10 | GHSA-pfmc-3mgc-p6fp |
| npm | electron | 40.9.0 | GHSA-pfmc-3mgc-p6fp |
| npm | electron | 41.2.1 | GHSA-pfmc-3mgc-p6fp |
| npm | electron | 42.0.0-beta.3 | GHSA-pfmc-3mgc-p6fp |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L