3.9low
Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
- Severity
- 3.9low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pfmc-3mgc-p6fp
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
| Product or package | Versions | Reported by |
|---|---|---|
| electron electron | < 39.8.10, >= 40.0.0-alpha.1, < 40.9.0, >= 41.0.0-alpha.1, < 41.2.1, >= 42.0.0-alpha.1, < 42.0.0-beta.3 | CVE List |
| electron (npm) | before 39.8.10, from 40.0.0-alpha.1 before 40.9.0, from 41.0.0-alpha.1 before 41.2.1, from 42.0.0-alpha.1 before 42.0.0-beta.3 | GitHub Advisory Database |
| electronjs electron | before 39.8.10, from 40.0.0 before 40.9.0, from 41.0.0 before 41.2.1, 42.0.0 | NVD |
All scores
| GitHub_M | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L |
| GitHub | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.341.2.140.9.039.8.10
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70598 changed 2026-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pfmc-3mgc-p6fp changed 2026-08-05 | CC-BY-4.0 |
| NVD | CVE-2026-70598 changed 2026-10-08 | Public domain |