CVE-2024-46993
MEDIUM 4.4CVSS 4.0Electron vulnerable to Heap Buffer Overflow in NativeImage
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.
- Published
- 1 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-122
- Also known as
- GHSA-6r2x-8pq8-9489
- Sources
- NVDJSONOSV GHSA-6r2x-8pq8-9489JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 4.4 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | electron | < 28.3.2 | 28.3.2 |
| OSV | npm | electron | >= 29.0.0-alpha.1, < 29.3.3 | 29.3.3 |
| OSV | npm | electron | >= 30.0.0-alpha.1, < 30.0.3 | 30.0.3 |
References
- https://github.com/electron/electron/security/advisories/GHSA-6r2x-8pq8-9489 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-46993 · ADVISORY
- https://github.com/electron/electron · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Jul 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Jun 2025)