CVE-2026-34781
Electron: Electron: Denial of Service via malformed clipboard image data
Overview
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, apps that call clipboard.readImage() may be vulnerable to a denial of service. If the system clipboard contains image data that fails to decode, the resulting null bitmap is passed unchecked to image construction, triggering a controlled abort and crashing the process. Apps are only affected if they call clipboard.readImage(). Apps that do not read images from the clipboard are not affected. This issue does not allow memory corruption or code execution. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.
Source: OX vulnerability database
Severity
3.3 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Weakness: CWE-476
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | <39.8.5>=40.0.0-alpha.1, <40.8.5>=41.0.0-alpha.1, <41.1.0>=42.0.0-alpha.1, <42.0.0-alpha.5 | 39.8.540.8.541.1.042.0.0-alpha.5 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-34781
- github.com https://github.com/electron/electron
- github.com https://github.com/electron/electron/commit/a48f03fb8d03933547281ddb2dbb6c6b9e705287
- github.com https://github.com/electron/electron/pull/50475
- github.com https://github.com/electron/electron/releases/tag/v39.8.5
- github.com https://github.com/electron/electron/releases/tag/v40.8.5
- github.com https://github.com/electron/electron/releases/tag/v41.1.0
- github.com https://github.com/electron/electron/releases/tag/v42.0.0-alpha.5
- github.com https://github.com/electron/electron/security/advisories/GHSA-f37v-82c4-4x64
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-34781
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.