Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Electron app on 42.3.1/42.3.2
-
DeliveryDeliver crafted payload with malformed length field
-
ExploitPayload reaches Node.js Buffer API
-
ExecutionIncorrect byte-length calculation triggers heap under/overflow
-
PersistApplication crashes or heap memory is corrupted
-
ImpactPotential follow-on memory disclosure or control-flow influence
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Electron application (versions 42.3.1-42.3.2) to pass attacker-influenced byte-length values into the Node.js Buffer API - typically by processing untrusted remote content, IPC payloads, or file data without sanitizing length fields. Limiting factors: only the narrow 42.3.1-42.3.2 release window is affected (apps on 42.3.0 or earlier majors are not in scope of this advisory), the application must actually expose a Buffer code path to attacker-controlled input, and the vendor notes 'most apps will crash' - i.e., the default outcome is DoS rather than memory corruption with security impact, with allocation-truncation behavior only manifesting in 'some' apps depending on how Buffer is consumed. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) is aggressive - it presumes the vulnerable Buffer code path is reachable directly over the network with no privileges or interaction, which is plausible for Electron apps that process untrusted remote content (web pages, WebSocket frames, IPC) but is workload-dependent. The advisory itself states 'most apps will crash' and 'some may perform incorrect buffer allocations,' which signals that the dominant observed outcome is denial of service, with memory-corruption-driven code execution being a conditional, exploit-dev-dependent outcome rather than a confirmed RCE primitive. No EPSS score, KEV listing, or public PoC was provided, so there is no public exploit identified at time of analysis; risk is real because of Electron's huge installed base, but the practical priority is high-rather-than-emergency until weaponized exploitation surfaces. Note: the input contains no CVSS 3.1 vector, so traditional 3.1-based prioritization tooling will need to derive its own. |
| Exploit ScenarioDerived | An attacker hosts a malicious page or serves a crafted payload (e.g., a WebSocket message or remote resource) that the Electron app fetches and passes into a Buffer operation with attacker-controlled length metadata, triggering a heap under/overflow that crashes the app or corrupts adjacent heap memory. Reliably weaponizing this into code execution would require additional exploit primitives in the target app's binary layout; no public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 23, 2026
Heap buffer under/overflow in Electron's Node.js Buffer API (versions 42.3.1 through 42.3.2) causes most apps to crash and may lead to incorrect buffer allocations resulting in unexpected truncation or memory corruption. No public exploit identified at time of analysis, but the CVSS 4.0 base score of 9.3 reflects network-reachable, unauthenticated memory corruption with high impact to confidentiality, integrity, and availability. Affects any Electron-based desktop application shipping the vulnerable runtime.
Earlier versions of this analysis (2)
Incorrect byte length calculations in Electron's Node.js Buffer API cause heap buffer under/overflow conditions, leading to application crashes and potentially malformed buffer allocations with unexpected truncation in versions 42.3.1 through 42.3.2. The flaw affects desktop applications built on Electron, with no public exploit identified at time of analysis but the high CVSS 4.0 score of 9.3 reflects significant memory-corruption potential. There are no workarounds - upgrading to 42.3.3 is mandatory.
Heap buffer under/overflow in Electron 42.3.1 through 42.3.2 causes most applications to crash and may lead to incorrect Buffer allocations in the Node.js Buffer API, resulting in unexpected truncation or allocation. The flaw stems from incorrect byte length calculations within Electron's Buffer handling. No public exploit identified at time of analysis, and no CVSS or EPSS score has been published for this advisory.
RemediationAI
Vendor-released patch: Electron 42.3.3. Upgrade the Electron dependency to 42.3.3 or later (npm install electron@42.3.3) and rebuild and redistribute the application; end users receive the fix only when the bundling vendor ships a new app build, so application owners should expedite a release. The vendor explicitly states there are no workarounds and instructs users not to run the impacted releases. As compensating controls until rebuilt binaries are deployed, restrict the app from loading untrusted remote content (enforce contextIsolation, disable nodeIntegration in renderers, set a strict Content Security Policy, and validate or cap sizes on any data passed into Buffer.alloc/Buffer.from from network or IPC sources); these reduce reachability but do not patch the underlying miscalculation, and disabling features like remote content loading may break legitimate functionality. Track the GHSA advisory at https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc for any follow-up guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Electron is a cross-platform desktop application framework that embeds Chromium and a Node.js runtime, used by widely deployed apps like VS Code, Slack, Discord, and Microsoft Teams. The flaw lives in the Node.js Buffer API, where incorrect byte-length calculations classify under CWE-120 (Classic Buffer Overflow / improper input size validation). Because Buffer is a foundational primitive used to handle binary data, network payloads, IPC messages, and file contents, downstream code paths that feed attacker-controlled sizes into Buffer allocation or copy routines can either crash the renderer/main process or read/write past intended bounds, yielding heap under- or overflows.
Know when Node.js gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Reaching the Buffer path typically requires the app to load attacker-controlled content (UI:R) and reliable memory corruption is non-trivial (AC:H); dominant impact is availability (crashes).
Primary rating from Vendor (https://github.com/electron/electron).
CVSS VectorVendor: https://github.com/electron/electron
Lifecycle Timeline
3DescriptionCVE.org
Impact
Most apps will crash and some may perform incorrect buffer allocations in the Node.js Buffer API resulting in unexpected truncation or allocation.
Workarounds
No workarounds. Do not use these impacted Electron releases
Fixed Versions
42.3.3
For more information
If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
Articles & Coverage 1
Executive ViewAI
Electron runtime versions 42.3.1-42.3.2 contain a critical heap buffer overflow vulnerability exploitable remotely without authentication. All Electron-based desktop applications in your environment are at risk of crashes and data corruption, with potential impact to confidentiality and business continuity.
Apply vendor patch. If patch deployment cannot be completed within 48 hours, restrict network access to affected Electron applications as interim mitigation until patching is complete.
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.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-38539
GHSA-q6m5-f73j-m9mc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB