electron
Affected
- introduced
0, fixed39.8.5(semver)
Fixed versions
39.8.5
Fix
- Fixed version
39.8.5npm install [email protected]
Advisory
Also known as: CVE-2026-34781
Electron: Crash in clipboard.readImage() on malformed clipboard image data
Impact
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.
Workarounds
Validate that the clipboard contains image data via clipboard.availableFormats() before calling clipboard.readImage(). Note this only narrows the window — upgrading to a fixed version is recommended.
Fixed Versions
42.0.0-alpha.541.1.040.8.539.8.5For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])
Low Basis: The source's own band: LOW
0, fixed 39.8.5 (semver)39.8.5
39.8.5npm install [email protected]40.0.0-alpha.1, fixed 40.8.5 (semver)40.8.5
40.8.5npm install [email protected]41.0.0-alpha.1, fixed 41.1.0 (semver)41.1.0
41.1.0npm install [email protected]42.0.0-alpha.1, fixed 42.0.0-alpha.5 (semver)42.0.0-alpha.5
42.0.0-alpha.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0