CVE-2026-34781
published low CVSS 3.1 · 2.8Electron crashes in clipboard.readImage() on malformed clipboard image data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.8 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 39.8.5 (affected)>= 40.0.0-alpha.1, < 40.8.5 (affected)>= 41.0.0-alpha.1, < 41.1.0 (affected)>= 42.0.0-alpha.1, < 42.0.0-alpha.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-476 CWE-476: NULL Pointer Dereference
References
1Provider assertions
2GitHub_M · cna
Electron crashes in clipboard.readImage() on malformed clipboard image data
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dfe1d7840d2e3b76848594ce5665e8c5505fa1f5760ab3f1be28020bae4efa36
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record