CVE-2024-46993 in Electron products
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. ...
Affects 0 products from 4 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Electron | — | — |
| Javascript | — | — |
| Platform | — | — |
| Program | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-46993 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-214863-I |
| Published | 2025-07-01 |
| Last modified | 2026-04-15 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Electron versions prior to 28.3.2, 29.3.3, and 30.0.3 are vulnerable to a heap buffer overflow due to the nativeImage.createFromPath() and nativeImage.createFromBuffer() functions.
An attacker can exploit this vulnerability by crafting a malicious image file or buffer that, when processed by the affected functions, can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution or other malicious activities.
Questions
What is CVE-2024-46993?
Electron versions prior to 28.3.2, 29.3.3, and 30.0.3 are vulnerable to a heap buffer overflow due to the nativeImage.createFromPath() and nativeImage.createFromBuffer() functions.
Is CVE-2024-46993 actively exploited?
No confirmed active exploitation of CVE-2024-46993 as of 2026-05-30.
How do I remediate CVE-2024-46993?
Priority: HIGH.
What systems are affected by CVE-2024-46993?
CVE-2024-46993 affects Electron; Javascript; Platform; Program.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Electron","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.