Skip to content
OpenAdvisories
Low · 3.9 CVE-2026-70598 EUVD-2026-53420GHSA-pfmc-3mgc-p6fp

Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size

Published Aug 5, 2026 · Updated Aug 5, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron < 39.8.10 39.8.10 GHSA-pfmc-3mgc-p6fp
npm electron >= 40.0.0-alpha.1, < 40.9.0 40.9.0 GHSA-pfmc-3mgc-p6fp
npm electron >= 41.0.0-alpha.1, < 41.2.1 41.2.1 GHSA-pfmc-3mgc-p6fp
npm electron >= 42.0.0-alpha.1, < 42.0.0-beta.3 42.0.0-beta.3 GHSA-pfmc-3mgc-p6fp

References