CVE-2024-46993CWE-122

Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath

Medium · published July 1, 2025

CVSS v4.0
4.4
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.4 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
EPSS
0.00156 · 4.4th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2025-07-01T01:55Z
EPSS history
Timeline
  • 01 JUL 01:55Z
    Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
    cvelistv5