CVE-2026-34781 json
Electron crashes in clipboard.readImage() on malformed clipboard image data
published 2026-04-07 7 mo ago modified 2026-07-24 3 mo ago also EUVD-2026-19950 , GHSA-f37v-82c4-4x64
- cvss
- 2.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm electron 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5
- atom electron 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5
- electronjs electron 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5
- github.com/electron/electron@a48f03f commit
- github.com/electron/electron#50475 pull request
- github.com/electron/electron/releases/tag/v39.8.5 release
- github.com/electron/electron/releases/tag/v40.8.5 release
- github.com/electron/electron/releases/tag/v41.1.0 release
- github.com/electron/electron/releases/tag/v42.0.0-alpha.5 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34781 updated cvss 5.0
Electron: Electron: Denial of Service via malformed clipboard image data
-
Red Hat Build of Podman Desktop podman-desktop-macos-1-0, podman-desktop-windows-1-0 Red Hat Build of Podman Desktop - Tech Preview redhat-user-workloads/red-hat-desktop-tenant/openshift-local-ext Red Hat Enterprise Linux 10 podman-desktop, rh-podman-desktopaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 2.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | 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.5 40.8.5 41.1.0 42.0.0-alpha.5 |
Affected products
- electron electron
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/electron/electron/pull/50475
web
-
github.com
/electron/electron/commit/a48f03fb8d03933547281ddb2dbb6c6b9e705287
web
-
github.com
/electron/electron/security/advisories/GHSA-f37v-82c4-4x64
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-34781
advisory
-
github.com
/electron/electron
package
-
github.com
/electron/electron/releases/tag/v39.8.5
web
-
github.com
/electron/electron/releases/tag/v40.8.5
web
-
github.com
/electron/electron/releases/tag/v41.1.0
web
-
github.com
/electron/electron/releases/tag/v42.0.0-alpha.5
web
Sources
- CVE List CVE-2026-34781
- GitHub Advisory GHSA-f37v-82c4-4x64
- NVD CVE-2026-34781
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.