CVE-2026-34781 Details
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.
A denial-of-service vulnerability has been identified in Electron applications that use the clipboard.readImage() function. This issue affects Electron versions prior to 39.8.5, as well as versions 40.0.0-alpha.1 through 40.8.5, 41.0.0-alpha.1 through 41.1.0, and 42.0.0-alpha.1 through 42.0.0-alpha.5. The vulnerability arises when the clipboard contains malformed image data that fails to decode properly. The resulting null bitmap is passed unchecked to image construction, causing a controlled abort that crashes the application process. Only apps that read images from the clipboard are affected, and this vulnerability does not lead to memory corruption or code execution.
To address this vulnerability, users should upgrade to Electron versions 39.8.5, 40.8.5, 41.1.0, or 42.0.0-alpha.5. As an additional precaution, applications can validate the clipboard image data using clipboard.availableFormats() before calling clipboard.readImage().
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-f37v-82c4-4x64 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electronjs electron | <= 39.8.4 >= 40.0.0, <= 40.8.4 >= 41.0.0, < 41.1.0 41.2.0 42.0.0 alpha1 42.0.0 alpha2 42.0.0 alpha3 42.0.0 alpha4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 16, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |