CVE-2026-34776 in Electronjs Electron
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Electronjs | Electron | 41.0.0 < 38.8.6 ≥ 39.0.0, < 39.8.1 ≥ 40.0.0, < 40.8.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34776 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-183933-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2026-04-04 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0 on macOS and Linux are vulnerable to an out-of-bounds heap read when parsing a crafted second-instance message, potentially leaking memory to the app's second-instance event handler.
An attacker could craft a malicious second-instance message that, when parsed by an Electron application using app.requestSingleInstanceLock(), could lead to an out-of-bounds heap read, potentially exposing sensitive information from the application's memory.
Questions
What is CVE-2026-34776?
Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0 on macOS and Linux are vulnerable to an out-of-bounds heap read when parsing a crafted second-instance message, potentially leaking memory to the app's second-instance event handler.
What is the CVSS score for CVE-2026-34776?
CVE-2026-34776 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.3%.
Is CVE-2026-34776 actively exploited?
No confirmed active exploitation of CVE-2026-34776 as of 2026-07-25.
How do I remediate CVE-2026-34776?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-34776?
CVE-2026-34776 affects Electronjs Electron.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.