Electron · Electron · CVE-2026-34781
Name of the Vulnerable Software and Affected Versions
Electron versions prior to 39.8.5, prior to 40.8.5, prior to 41.1.0, and prior to 42.0.0-alpha.5
Description
Applications utilizing the `clipboard.readImage()` function may experience a denial of service. If the system clipboard contains image data that cannot be decoded, the resulting null bitmap can cause a process crash. Only applications that call `clipboard.readImage()` are affected. This issue does not allow memory corruption or code execution. A workaround is to validate the clipboard contains image data via `clipboard.availableFormats()` before calling `clipboard.readImage()`.
Recommendations
Update to Electron version 39.8.5 or later.
Update to Electron version 40.8.5 or later.
Update to Electron version 41.1.0 or later.
Update to Electron version 42.0.0-alpha.5 or later.