CVE-2026-34781
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
electronnpm | < 39.8.5 | 39.8.5 |
electronnpm | >= 40.0.0-alpha.1, < 40.8.5 | 40.8.5 |
electronnpm | >= 41.0.0-alpha.1, < 41.1.0 | 41.1.0 |
electronnpm | >= 42.0.0-alpha.1, < 42.0.0-alpha.5 | 42.0.0-alpha.5 |
Affected products
7cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:*+ 5 more
- cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*range: <=39.8.4
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-f37v-82c4-4x64ghsaADVISORY
- github.com/electron/electron/security/advisories/GHSA-f37v-82c4-4x64nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-34781ghsaADVISORY
- github.com/electron/electron/commit/a48f03fb8d03933547281ddb2dbb6c6b9e705287ghsaWEB
- github.com/electron/electron/pull/50475ghsaWEB
- github.com/electron/electron/releases/tag/v39.8.5ghsaWEB
- github.com/electron/electron/releases/tag/v40.8.5ghsaWEB
- github.com/electron/electron/releases/tag/v41.1.0ghsaWEB
- github.com/electron/electron/releases/tag/v42.0.0-alpha.5ghsaWEB
News mentions
0No linked articles in our index yet.