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.
Metrics
Affected Vendors & Products
References
History
Wed, 02 Jul 2025 14:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Tue, 01 Jul 2025 02:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath | |
Weaknesses | CWE-122 | |
References |
| |
Metrics |
cvssV4_0
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-07-01T01:55:51.242Z
Updated: 2025-07-02T13:25:00.677Z
Reserved: 2024-09-16T16:10:09.019Z
Link: CVE-2024-46993

Updated: 2025-07-01T13:47:01.069Z

Status : Awaiting Analysis
Published: 2025-07-01T03:15:21.020
Modified: 2025-07-03T15:14:12.767
Link: CVE-2024-46993

No data.