CVE-2024-46993: Electron
Medium severity, CVSS 4.4. EPSS: 0.2% probability of exploitation activity in the next 30 days.
Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 28.3.2, 29.3.3, and 30.0.3, the nativeImage.createFromPath() and nativeImage.createFromBuffer() functions call a function downstream that is vulnerable to a heap buffer overflow. An Electron program that uses either of the affected functions is vulnerable to a buffer overflow if an attacker is in control of the image's height, width, and contents. This issue has been patched in versions 28.3.2, 29.3.3, and 30.0.3. There are no workarounds for this issue.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Electron, before 28.3.2: fixed in 28.3.2
- Electron, from 29.0.0-alpha.1, before 29.3.3: fixed in 29.3.3
- Electron, from 30.0.0-alpha.1, before 30.0.3: fixed in 30.0.3
Affected products
- Electron Electron: before 28.3.2 (fixed in 28.3.2); from 29.0.0-alpha.1, before 29.3.3 (fixed in 29.3.3); from 30.0.0-alpha.1, before 30.0.3 (fixed in 30.0.3)
Affected packages
- electron (npm)
Published 2025-07-01. Last modified 2026-06-17.