Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-46993
July 01, 2025
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 Packages
electron (NPM):
Affected version(s) >=1.3.1 <28.3.2
Fix Suggestion:
Update to version 28.3.2
electron (NPM):
Affected version(s) >=29.0.0-alpha.1 <29.3.3
Fix Suggestion:
Update to version 29.3.3
electron (NPM):
Affected version(s) >=0.1.0 <28.3.2
Fix Suggestion:
Update to version 28.3.2
electron (NPM):
Affected version(s) >=30.0.0-alpha.1 <30.0.3
Fix Suggestion:
Update to version 30.0.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Heap-based Buffer Overflow
EPSS
Base Score:
0.02