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.
Published: 2026-08-05
Score: 3.9 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Electron’s off-screen rendering routine receives geometry data from the GPU process, but the main process does not fully validate the shared-memory layout. When the geometry specification exceeds the actual buffer size, the main process reads beyond the intended memory region while assembling paint events, potentially revealing sensitive information or causing the application to crash. The weakness is a classic out-of-bounds read (CWE‑125).

Affected Systems

All Electron releases prior to 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3 are affected. These versions are used in desktop applications built with the Electron framework and run on Windows, macOS, and Linux.

Risk and Exploitability

The CVSS score of 3.9 indicates low overall severity, and no EPSS data or CISA KEV listing is available. Based on the description, it is inferred that an attacker would need to control or subvert the GPU process – a scenario typically involving local privilege escalation or a compromised graphics driver – to provide malicious geometry data. The vulnerability does not appear exploitable from a remote network context and is not currently tracked in the KEV catalog.

Generated by OpenCVE AI on August 5, 2026 at 18:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Electron to 39.8.10, 40.9.0, 41.2.1, 42.0.0‑beta.3 or later to apply the vendor patch that fully validates GPU geometry
  • If a timely upgrade is not possible, disable or limit off‑screen rendering features in the application to prevent the use of the vulnerable routine
  • Restrict the privileges granted to the GPU process so that it cannot supply arbitrary geometry data
  • Keep the host system’s graphics drivers up to date to reduce the risk of a compromised GPU process

Generated by OpenCVE AI on August 5, 2026 at 18:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pfmc-3mgc-p6fp Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
History

Wed, 05 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Wed, 05 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 3.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L'}


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-05T18:15:50.518Z

Reserved: 2026-08-04T19:50:27.328Z

Link: CVE-2026-70598

cve-icon Vulnrichment

Updated: 2026-08-05T18:15:47.279Z

cve-icon NVD

Status : Received

Published: 2026-08-05T16:17:03.763

Modified: 2026-08-05T19:17:38.353

Link: CVE-2026-70598

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T18:15:05Z

Weaknesses