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.

Severity (CVSS 3.1)3.9Low
Exploit odds (30 days)0.1%top 96.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmelectron39.8.10GHSA-pfmc-3mgc-p6fp
npmelectron40.9.0GHSA-pfmc-3mgc-p6fp
npmelectron41.2.1GHSA-pfmc-3mgc-p6fp
npmelectron42.0.0-beta.3GHSA-pfmc-3mgc-p6fp

Affected products (as reported)

VendorProductVersions
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

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L

References