CVE-2026-34776
Published:April 03, 2026
Updated:April 20, 2026
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on macOS and Linux, apps that call app.requestSingleInstanceLock() were vulnerable to an out-of-bounds heap read when parsing a crafted second-instance message. Leaked memory could be delivered to the app's second-instance event handler. This issue is limited to processes running as the same user as the Electron app. Apps that do not call app.requestSingleInstanceLock() are not affected. Windows is not affected by this issue. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.
Affected Packages
electron (NPM):
Affected version(s) >=41.0.0-alpha.1 <41.0.0Fix Suggestion:
Update to version 41.0.0electron (NPM):
Affected version(s) >=0.1.0 <38.8.6Fix Suggestion:
Update to version 38.8.6electron (NPM):
Affected version(s) >=40.0.0-alpha.2 <40.8.1Fix Suggestion:
Update to version 40.8.1electron (NPM):
Affected version(s) >=39.0.0-alpha.1 <39.8.1Fix Suggestion:
Update to version 39.8.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.8
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Out-of-bounds Read
EPSS
Base Score:
0.01