CVE-2024-46993

MEDIUM

NPM Electron < 28.3.2 - Heap Buffer Overflow

Title source: rule
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v4 4.4
EPSS 0.0007
EPSS Percentile 22.2%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-122
Status published
Products (4)
electron/electron < 28.3.2
electron/electron >= 29.0.0-alpha.1, < 29.3.3
electron/electron >= 30.0.0-alpha.1, < 30.0.3
npm/electron 0 - 28.3.2npm
Published Jul 01, 2025
Tracked Since Feb 18, 2026