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.5
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| npm-Paket | 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 | 39.8.5, 40.8.5, 41.1.0, 42.0.0-alpha.5 |
Verweise
- https://github.com/electron/electron/security/advisories/GHSA-f37v-82c4-4x64
- https://nvd.nist.gov/vuln/detail/CVE-2026-34781
- https://github.com/electron/electron/pull/50475
- https://github.com/electron/electron/commit/a48f03fb8d03933547281ddb2dbb6c6b9e705287
- https://github.com/electron/electron
- https://github.com/electron/electron/releases/tag/v39.8.5
- https://github.com/electron/electron/releases/tag/v40.8.5
- https://github.com/electron/electron/releases/tag/v41.1.0
- https://github.com/electron/electron/releases/tag/v42.0.0-alpha.5
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L- Schwäche (CWE)
CWE-476- Plattform
- npm
- Paket
electron- Veröffentlicht
- 07.04.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-f37v-82c4-4x64 - CC BY 4.0
Schwachstellenhistorie: electron
Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 71
- Erste → letzte
- 10.2017 09.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 3
Verteilung nach Schweregrad
- Kritisch 3
- Hoch 26
- Mittel 32
- Niedrig 10
Veröffentlichungen pro Jahr
- 2017: 1
- 2018: 5
- 2019: 0
- 2020: 6
- 2021: 2
- 2022: 7
- 2023: 6
- 2024: 0
- 2025: 3
- 2026: 41
-
Electron: Crash in clipboard.readImage() on malformed clipboard image data dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.