# GHSA-H3V5-H239-PG29: Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry

- Database: GitHub
- Severity: low (stated by ghsa, no CVSS score)
- Published: 2026-10-22
- Modified: 2026-10-22

## Tracked as

- [CVE-2026-114124](https://cve.now/CVE-2026-114124.md): Electron: Off-screen rendering on macOS trusts GPU-supplied frame geometry

## Affected versions

- electron (npm): fixed in 42.11.6
- electron (npm): from 43.0.0-alpha.1, fixed in 43.7.3
- electron (npm): from 44.0.0-alpha.1, fixed in 44.4.3
- electron (npm): from 45.0.0-alpha.1, fixed in 45.0.0-alpha.9

## Description

### 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.9`
* `44.4.3`
* `43.7.3`
* `42.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)

## References

- https://github.com/electron/electron/security/advisories/GHSA-h3v5-h239-pg29
- https://nvd.nist.gov/vuln/detail/CVE-2026-114124
- https://github.com/electron/electron/pull/54047
- https://github.com/electron/electron/pull/54038
- https://github.com/electron/electron/pull/54037
- https://github.com/electron/electron/pull/54036
- https://github.com/electron/electron/pull/54033
- https://github.com/electron/electron/commit/d7f87070a8d738e561245d1ade4d6fbb082db80a
- https://github.com/electron/electron/commit/d496507ffa1693edaa704a4be130fbcb8ecb4ada
- https://github.com/electron/electron/commit/8d48be150c3fd53b0d02854124bdb7858598799c
- https://github.com/electron/electron/commit/64ae597deda8956037387b439e6361f0fe936c86
- https://github.com/electron/electron/commit/24d8dbc661c6a109476ae59e9a2740b35d005cf4
- https://github.com/electron/electron/releases/tag/v42.11.6
- https://github.com/electron/electron/releases/tag/v43.7.3
- https://github.com/electron/electron/releases/tag/v44.4.3
- https://github.com/electron/electron/releases/tag/v45.0.0-alpha.9
- https://github.com/electron/electron

Page: https://cve.now/GHSA-H3V5-H239-PG29

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
