CVE-2026-34781 Electron crashes in clipboard.readImage() on malformed clipboard image data
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
8 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/podman-desktop(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-macos-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-windows-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/rh-podman-desktop(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| electronjs electron | <= 39.8.4; = 41.2.0; = 42.0.0-alpha1; = 42.0.0-alpha2 +4 more | 41.1.0 | Fixed |
| npm electron(npm) | < 39.8.5; >= 40.0.0-alpha.1, < 40.8.5; >= 41.0.0-alpha.1, < 41.1.0; >= 42.0.0-alpha.1, < 42.0.0-alpha.5 | 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5 | Fixed |
| electron | = < 39.8.5; = >= 40.0.0-alpha.1, < 40.8.5; = >= 41.0.0-alpha.1, < 41.1.0; = >= 42.0.0-alpha.1, < 42.0.0-alpha.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electron | = < 39.8.5 | No fix listed |
| electron | = >= 40.0.0-alpha.1, < 40.8.5 | No fix listed |
| electron | = >= 41.0.0-alpha.1, < 41.1.0 | No fix listed |
| electron | = >= 42.0.0-alpha.1, < 42.0.0-alpha.5 | No fix listed |
| npm electron(npm) | < 39.8.5 | 39.8.5 |
| npm electron(npm) | >= 40.0.0-alpha.1, < 40.8.5 | 40.8.5 |
| npm electron(npm) | >= 41.0.0-alpha.1, < 41.1.0 | 41.1.0 |
| npm electron(npm) | >= 42.0.0-alpha.1, < 42.0.0-alpha.5 | 42.0.0-alpha.5 |
| redhat/podman-desktop-macos-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/podman-desktop-windows-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/podman-desktop(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/rh-podman-desktop(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| electronjs electron | <= 39.8.4 | No fix listed |
| electronjs electron | >= 40.0.0, <= 40.8.4 | No fix listed |
| electronjs electron | >= 41.0.0, < 41.1.0 | 41.1.0 |
| electronjs electron | = 41.2.0 | No fix listed |
| electronjs electron | = 42.0.0-alpha1 | No fix listed |
| electronjs electron | = 42.0.0-alpha2 | No fix listed |
| electronjs electron | = 42.0.0-alpha3 | No fix listed |
| electronjs electron | = 42.0.0-alpha4 | No fix listed |
References
- https://github.com/electron/electron/security/advisories/GHSA-f37v-82c4-4x64 vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com
- github.com
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2456279 issue-tracking
- www.cve.org
- github.com product