What’s Vulnerable › Vulnerabilities
CVE-2026-70598: Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
- Severity: low (CVSS 3.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-05 · updated 2026-10-08
- Weakness: CWE-125
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
- electron: before 39.8.10; from 40.0.0 before 40.9.0; from 41.0.0 before 41.2.1; 42.0.0-alpha1, 42.0.0-alpha2, 42.0.0-alpha3, 42.0.0-alpha4, 42.0.0-alpha5, 42.0.0-alpha6 (+2) — fixed in 39.8.10, 40.9.0, 41.2.1
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
- https://github.com/electron/electron/commit/2c24640e7b0b9c74fe9f44bce0fde138340ff4fb
- https://github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp
Get alerted when CVE-2026-70598 or the next vulnerability affects your stack