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-114122 Overview
CVE-2026-114122 is an out-of-bounds read vulnerability in the Electron framework, which is used to build cross-platform desktop applications with JavaScript, HTML, and CSS. The flaw resides in the handling of frame data received from the GPU process for webContents.beginFrameSubscription. The main process does not fully validate frame geometry supplied by the GPU process. An attacker who has already achieved code execution in the GPU process can supply inconsistent frame geometry. This causes the main process to read out-of-bounds memory while producing captured frame images, leading to memory disclosure or application crashes. The issue is tracked under [CWE-125: Out-of-bounds Read] and is fixed in versions 42.11.6, 43.7.3, 44.4.3, and 45.0.0-alpha.9.
Critical Impact
An attacker with pre-existing code execution in the Electron GPU process can disclose main process memory or crash the application by sending malformed frame geometry.
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-114122 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114122
Vulnerability Analysis
Electron's webContents.beginFrameSubscription API allows the main process to subscribe to captured frames rendered by the GPU process. Frame data is transferred from the GPU process to the main process over a shared memory region, accompanied by geometry metadata describing the captured frame's layout. Before the fix, the main process consumed this metadata without verifying that the declared layout fit within the backing shared memory region. The issue is classified as an out-of-bounds read ([CWE-125]). Exploitation requires a two-stage compromise: the attacker must first gain code execution in the sandboxed GPU process, then send manipulated frame descriptors upward to the trusted main process. The resulting read beyond the shared buffer can expose adjacent main process memory or trigger a crash during image construction.
Root Cause
The root cause is missing validation of captured frame layout parameters in shell/browser/api/frame_subscriber.cc and the associated Chromium components/viz/host/host_display_client.cc patch. The main process trusted size and stride values supplied by the GPU process and used them directly to index into the read-only shared memory region returned by data->get_read_only_shmem_region(). When declared dimensions exceeded the actual mapped region, the frame copy routine read past the allocation boundary.
Attack Vector
The attack vector is local and requires the attacker to already control the GPU process. From that position, the attacker crafts frame subscription responses that advertise inconsistent width, height, or stride values relative to the shared memory region. When the main process processes the frame, it performs an out-of-bounds read while constructing the captured image. The outcome is either disclosure of main process memory contents or a process crash resulting in denial of service.
// Security patch excerpt - shell/browser/api/frame_subscriber.cc
// Source: https://github.com/electron/electron/commit/24d8dbc661c6a109476ae59e9a2740b35d005cf4
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);
The patch removes the unconditional read of the shared memory region and relocates it after captured frame layout validation. See the GitHub Security Advisory GHSA-3qxv-5xgr-q7w9 for additional context.
Detection Methods for CVE-2026-114122
Indicators of Compromise
- Unexpected crashes of the Electron main process referencing frame capture or frame_subscriber call sites in crash dumps.
- Anomalous memory access violations originating from the main process shortly after GPU process restarts.
- Electron applications running versions earlier than 42.11.6, 43.7.3, or 44.4.3 identified during software inventory.
Detection Strategies
- Inventory installed Electron-based applications and compare bundled Electron versions against the fixed releases.
- Monitor crash telemetry from desktop endpoints for repeated main process faults tied to screen or window capture APIs.
- Correlate GPU process compromise indicators (such as prior renderer or GPU sandbox escape attempts) with subsequent main process instability.
Monitoring Recommendations
- Collect and centralize Electron application crash reports to detect repeated main process termination patterns.
- Enable endpoint telemetry to track child process relationships for Electron applications, including GPU and renderer process behavior.
- Alert on execution of unsigned or tampered Electron binaries that may indicate exploitation of the broader attack chain.
How to Mitigate CVE-2026-114122
Immediate Actions Required
- Upgrade all Electron-based applications to 42.11.6, 43.7.3, 44.4.3, or 45.0.0-alpha.9 or later.
- Audit internal applications built on Electron and coordinate with vendors of third-party Electron apps to confirm patched releases.
- Reduce exposure of the webContents.beginFrameSubscription API in application code where it is not strictly required.
Patch Information
The Electron project released patched builds in v42.11.6, v43.7.3, v44.4.3, and v45.0.0-alpha.9. The fixes are implemented across PR #54036, PR #54037, PR #54038, and PR #54047, validating captured frame layout before reading shared memory.
Workarounds
- Avoid calling webContents.beginFrameSubscription in application code until the Electron runtime is updated.
- Ensure the Chromium sandbox is enabled so that GPU process compromise remains a prerequisite for exploitation.
- Restrict loading of untrusted content in Electron BrowserWindow instances to reduce the likelihood of upstream GPU process compromise.
# Verify installed Electron version in a Node/Electron project
npx electron --version
# Upgrade to a patched Electron release
npm install --save-dev electron@44.4.3
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

