Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry
Published 22 Oct 2026 · Updated 22 Oct 2026
Affected packages
- Affected
- <42.11.6
- Fixed in
- 42.11.6
npm install electron@42.11.6- Affected
- >=43.0.0-alpha.1 <43.7.3
- Fixed in
- 43.7.3
npm install electron@43.7.3- Affected
- >=44.0.0-alpha.1 <44.4.3
- Fixed in
- 44.4.3
npm install electron@44.4.3- Affected
- >=45.0.0-alpha.1 <45.0.0-alpha.9
- Fixed in
- 45.0.0-alpha.9
npm install electron@45.0.0-alpha.9Details
Impact
In offscreen rendering mode on macOS, 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. GHSA-pfmc-3mgc-p6fp covers the same issue on the other capture paths.
Apps are only affected if they use offscreen rendering (webPreferences.offscreen) on macOS 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
45.0.0-alpha.944.4.343.7.342.11.6
For more information
If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
Is GHSA-h3v5-h239-pg29 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.
References
- Linkgithub.com/electron/electron/security/advisories/GHSA-h3v5-h239-pg29
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-114124
- Linkgithub.com/electron/electron/pull/54047
- Linkgithub.com/electron/electron/pull/54038
- Linkgithub.com/electron/electron/pull/54037
- Linkgithub.com/electron/electron/pull/54036
- Linkgithub.com/electron/electron/pull/54033
- Linkgithub.com/electron/electron/commit/d7f87070a8d738e561245d1ade4d6fbb082db80a
- Linkgithub.com/electron/electron/commit/d496507ffa1693edaa704a4be130fbcb8ecb4ada
- Linkgithub.com/electron/electron/commit/8d48be150c3fd53b0d02854124bdb7858598799c
- Linkgithub.com/electron/electron/commit/64ae597deda8956037387b439e6361f0fe936c86
- Linkgithub.com/electron/electron/commit/24d8dbc661c6a109476ae59e9a2740b35d005cf4
- Linkgithub.com/electron/electron/releases/tag/v42.11.6
- Linkgithub.com/electron/electron/releases/tag/v43.7.3
- Linkgithub.com/electron/electron/releases/tag/v44.4.3
- Linkgithub.com/electron/electron/releases/tag/v45.0.0-alpha.9
- Packagegithub.com/electron/electron
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.