Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114124 Overview
CVE-2026-114124 affects the Electron framework used for building cross-platform desktop applications with JavaScript, HTML, and CSS. The flaw resides in the macOS offscreen rendering path, where the main process did not fully validate frame data received from the GPU process. An attacker with prior code execution in the GPU process can supply inconsistent frame geometry, triggering an out-of-bounds read [CWE-125] in the main process when paint event images are produced. Successful exploitation can disclose process memory or crash the application. The issue is fixed in Electron 42.11.6, 43.7.3, 44.4.3, and 45.0.0-alpha.9.
Critical Impact
An attacker already executing code in the GPU process can force the Electron main process to read out-of-bounds memory on macOS, leading to information disclosure or application crashes.
Affected Products
- Electron versions prior to 42.11.6
- Electron versions prior to 43.7.3
- Electron versions prior to 44.4.3 and 45.0.0-alpha.9
Discovery Timeline
- 2026-10-21 - CVE-2026-114124 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114124
Vulnerability Analysis
Electron's offscreen rendering (OSR) mode on macOS receives captured frames from the GPU process through a shared memory region. The main (browser) process consumes these frames to produce paint event images delivered to the application. Prior to the fix, the main process trusted the frame geometry supplied by the GPU process without reconciling it against the actual size of the shared memory buffer.
When the reported geometry exceeded the real buffer dimensions, the frame subscriber iterated past the end of the shared region, performing an out-of-bounds read. Depending on the surrounding memory layout, this leaked uninitialized or adjacent memory into paint output, or crashed the process. Because the attack requires a compromised GPU process and local conditions, exploitation complexity is high, but the resulting cross-process boundary violation is meaningful: the GPU sandbox is designed to contain untrusted rendering code, and this bug lets that code influence the more privileged main process.
Root Cause
The root cause is missing validation of captured frame layout in shell/browser/api/frame_subscriber.cc and the related Chromium viz host display client patch. The main process did not verify that the frame's declared content_rect and stride matched the size of the shared memory region (get_read_only_shmem_region) before dereferencing pixel data.
Attack Vector
Exploitation is local and requires the attacker to already control the GPU process. The malicious GPU process sends a frame with inconsistent geometry over the Mojo video capturer channel to the main process on macOS. The main process then performs the vulnerable read while building a paint event image.
// Patch excerpt - shell/browser/api/frame_subscriber.cc
const gfx::Rect& content_rect,
mojo::PendingRemote<viz::mojom::FrameSinkVideoConsumerFrameCallbacks>
callbacks) {
- auto& data_region = data->get_read_only_shmem_region();
-
gfx::Size size = GetRenderViewSize();
if (size != content_rect.size()) {
video_capturer_->SetResolutionConstraints(size, size, true);
Source: GitHub Commit 24d8dbc. The fix removes the unconditional read of the shared memory region and validates the captured frame layout before accessing pixel data. A parallel patch applies to the Chromium components/viz/host/host_display_client.cc component via patches/chromium/feat_enable_offscreen_rendering_with_viz_compositor.patch.
Detection Methods for CVE-2026-114124
Indicators of Compromise
- Unexpected crashes of Electron-based application main processes on macOS, particularly with signatures referencing frame capture or viz compositor code paths.
- Prior anomalous activity in or around the Electron GPU helper process (for example *(GPU).app/Contents/MacOS/*) suggesting it was previously compromised.
- Electron application versions on macOS endpoints below 42.11.6, 43.7.3, or 44.4.3.
Detection Strategies
- Inventory installed Electron applications on macOS and extract the bundled Electron version from each app's Frameworks/Electron Framework.framework to identify vulnerable builds.
- Monitor for crash reports in ~/Library/Logs/DiagnosticReports/ that implicate Electron frame subscriber or OSR components.
- Correlate GPU-process compromise indicators with subsequent main-process instability in the same application bundle.
Monitoring Recommendations
- Alert on repeated abnormal termination of Electron helper and main processes on macOS hosts.
- Track outbound software updates and ensure Electron-based apps are maintained on patched upstream versions.
- Review telemetry for unexpected child-process spawning or memory region access anomalies from Electron GPU helpers.
How to Mitigate CVE-2026-114124
Immediate Actions Required
- Upgrade Electron-based applications to 42.11.6, 43.7.3, 44.4.3, or 45.0.0-alpha.9 as appropriate for the release line in use.
- Application vendors should rebuild and re-sign macOS distributables against a patched Electron version and ship updates to end users.
- Enterprise administrators should prioritize patching on macOS endpoints running Electron applications that enable offscreen rendering.
Patch Information
Upstream fixes are tracked in the GitHub Security Advisory GHSA-h3v5-h239-pg29 and delivered in v42.11.6, v43.7.3, v44.4.3, and v45.0.0-alpha.9. Backport pull requests include #54033, #54036, #54037, #54038, and #54047.
Workarounds
- Where feasible on macOS, disable offscreen rendering (BrowserWindow option webPreferences.offscreen) in affected applications until an updated Electron build is deployed.
- Reduce exposure by hardening the GPU process attack surface: keep Chromium/Electron up to date and avoid loading untrusted remote content in Electron windows.
- Treat GPU-process compromise as a prerequisite and apply least-privilege packaging (code signing, hardened runtime, notarization) to raise the bar for initial code execution on macOS.
# Verify the bundled Electron version in a macOS .app
/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' \
"/Applications/YourApp.app/Contents/Frameworks/Electron Framework.framework/Resources/Info.plist"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

