What’s Vulnerable › Vulnerabilities
CVE-2024-46993: Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
- Severity: medium (CVSS 4.4 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-01 · updated 2026-06-17
- Weakness: CWE-122
Description
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.
Affected products
- electron: before 28.3.2; from 29.0.0-alpha.1, < 29.3.3; from 30.0.0-alpha.1, < 30.0.3
References
Get alerted when CVE-2024-46993 or the next vulnerability affects your stack