Skip to main content

Electron CVE-2026-54257

| EUVDEUVD-2026-38539 CRITICAL
Classic Buffer Overflow (CWE-120)
2026-06-15 https://github.com/electron/electron GHSA-q6m5-f73j-m9mc
9.3
CVSS 4.0 · Vendor: https://github.com/electron/electron
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Electron app on 42.3.1/42.3.2
  2. Delivery
    Deliver crafted payload with malformed length field
  3. Exploit
    Payload reaches Node.js Buffer API
  4. Execution
    Incorrect byte-length calculation triggers heap under/overflow
  5. Persist
    Application crashes or heap memory is corrupted
  6. Impact
    Potential 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 23, 2026 - 18:28 cvss changed CVSS 9.3

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.

v1 Jun 15, 2026 - 20:52

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

electron 42.3.1, < 42.3.3

Affected Packages

npm electron fix: 42.3.3

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

Vendor (https://github.com/electron/electron) PRIMARY 9.3 CRITICAL
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
vuln.today AI 6.4 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (https://github.com/electron/electron).

CVSS VectorVendor: https://github.com/electron/electron

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jun 23, 2026 - 18:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 23, 2026 - 18:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 23, 2026 - 18:22 NVD
9.3 (CRITICAL)

DescriptionCVE.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)

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
High
Electron underpins many widely deployed desktop apps (VS Code, Slack, Teams)
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy