CVE-2026-34781 | Electron crashes in clipboard.readImage() on malformed clipboard image data

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.

Published: 2026-04-07 Last update: 2026-04-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-34781 is rated Low Risk (12.1/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-34781

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-08 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-34781

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.8 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.3 1.4 [email protected]
3.3 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 1.4 [email protected]

Weakness enumeration for CVE-2026-34781

GitHub Security Advisory for CVE-2026-34781

GHSA-f37v-82c4-4x64 · Severity: low · Ecosystem: npm — Electron: Crash in clipboard.readImage() on malformed clipboard image data

OS Trackers for CVE-2026-34781

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2026-34781

Affected software / configurations for CVE-2026-34781

Vendor Product Version Raw CPE
electronjs electron <= 39.8.4 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron >= 40.0.0, <= 40.8.4 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron >= 41.0.0, < 41.1.0 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron 41.2.0 cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*

References for CVE-2026-34781

cvelogic Threat Intelligence