Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessExploit separate GPU process vulnerability
-
DeliveryGain code execution in Electron GPU subprocess
-
ExploitCraft Mojo IPC frame with oversized content_rect and undersized shared memory
-
ExecutionTrigger main process paint event in offscreen rendering mode
-
PersistMain process reads out-of-bounds memory
-
ImpactDisclose browser process memory contents
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two specific preconditions must simultaneously be true for exploitation: first, the targeted Electron application must be configured with |
| Impact | The CVSS 3.1 base score of 3.9 (Low) accurately reflects the constrained real-world risk. The vector AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L encodes three significant limiting factors: local attack vector (no remote exploitation path), high attack complexity (requires prior GPU process compromise as a prerequisite), and high privilege requirement (attacker must control the GPU subprocess). The Scope:Changed metric captures that a successful attack crosses from the GPU process sandbox into the browser process address space, which is the actual threat model concern. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. The vulnerability is not in the CISA KEV catalog and no POC exists publicly. The tags in the intelligence source list 'RCE' and 'Buffer Overflow', which conflict with the CVE description and CWE-125 classification - this is a read-only out-of-bounds access with no write primitive, making RCE highly implausible from this flaw alone. Those tags should be treated as inaccurate metadata. In practical terms, this is a defense-in-depth gap in Electron's inter-process trust boundary rather than a standalone exploitable vulnerability; its primary risk is memory disclosure that could assist a chained exploit. |
| Exploit ScenarioDerived | An attacker who has separately achieved code execution within Electron's GPU process - for example, through a Chromium renderer-to-GPU sandbox escape - could craft malicious Mojo IPC messages supplying an inflated |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Out-of-bounds memory read in Electron's offscreen rendering pipeline allows a compromised GPU process to cause the browser/main process to read beyond a shared memory mapping boundary when producing paint event images, disclosing process memory or crashing the application. Exploitation requires two independent preconditions: the host application must enable webPreferences.offscreen (non-default) and an attacker must have already achieved code execution in the GPU process via a separate vulnerability. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upgrade Electron to one of the patched releases: 39.8.10, 40.9.0, 41.2.1, or 42.0.0-beta.3, depending on the release series in use. The vendor explicitly states there are no application-side workarounds - the fix is entirely within the Electron framework itself and cannot be replicated by app developers through configuration or code changes. The upstream code fix is available at commit 2c24640e7b0b9c74fe9f44bce0fde138340ff4fb. Applications that do not require offscreen rendering can mitigate exposure entirely by ensuring webPreferences.offscreen is not set to true, which removes the vulnerable code path from the attack surface, though this does not address the underlying deficiency in Electron's IPC validation. Consult the security advisory at https://github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp for authoritative guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Electron's multi-process architecture (pkg:npm/electron) separates rendering into a sandboxed GPU process that communicates with the browser/main process over Mojo IPC using shared memory segments. In offscreen rendering mode (OSR), the GPU process supplies frame geometry - specifically pixel_size and content_rect - alongside a shared memory region containing pixel data. The vulnerable code in osr_host_display_client.cc and osr_video_consumer.cc used GPU-supplied geometry to size Skia canvas objects without first verifying that the claimed dimensions were bounded by the actual shared memory mapping size. CWE-125 (Out-of-bounds Read) is the root cause: a hostile GPU process could advertise an oversized content_rect backed by an undersized mapping, causing the main process to compute a required_bytes value exceeding mapping.size() and subsequently read past the allocation boundary. The fix, committed at 2c24640e7b0b9c74fe9f44bce0fde138340ff4fb, adds explicit geometry-vs-mapping size checks in both OnAllocatedSharedMemory and OnFrameCaptured, and switches from CRASH_ON_FAILURE to RETURN_NULL_ON_FAILURE to prevent forced crashes on bad input.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L
Local attack vector and high privileges reflect GPU subprocess control requirement; high complexity for mandatory prior compromise; scope changed as read crosses into browser process; no integrity impact from a read-only flaw.
Primary rating from Vendor (https://github.com/electron/electron).
CVSS VectorVendor: https://github.com/electron/electron
DescriptionCVE.org
Impact
In offscreen rendering mode, 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.
Apps are only affected if they use offscreen rendering (webPreferences.offscreen) 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
42.0.0-beta.341.2.140.9.039.8.10
For more information
If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-53420
GHSA-pfmc-3mgc-p6fp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB