Electron Denial-of-Service Vulnerability in Clipboard Image Handling

Vulnerability

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.

Impact

Exploiting this vulnerability causes the application to crash, but it does not allow for memory corruption or code execution.

Remediation

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().

Added: Apr 7, 2026, 11:31 PM
Updated: Apr 7, 2026, 11:31 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
2.8
remediation
0.0
relevance
5.4
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.