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
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | 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 |
Referencias
- 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
- Vector CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L- Debilidad (CWE)
CWE-476- Plataforma
- npm
- Paquete
electron- Publicada
- 07.04.2026
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-f37v-82c4-4x64 - CC BY 4.0
Historial de vulnerabilidades: electron
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 71
- Primera → última
- 10.2017 09.2026
- Sin corrección
- 0
- Explotada en ataques
- 3
Distribución por gravedad
- Crítica 3
- Alta 26
- Media 32
- Baja 10
Divulgaciones por año
- 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 esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.