# CVE-2024-46993: Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-01 · Modified: 2025-07-02
- Aliases: GHSA-6r2x-8pq8-9489
- Record: https://cvemate.com/vulnerability/CVE-2024-46993 · JSON: https://cvemate.com/vulnerability/CVE-2024-46993/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v4.0, CVE.org) 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
- EPSS: 0.167%, percentile 6.214%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- electron electron: \< 28.3.2 \| ≥ 29.0.0-alpha.1, \< 29.3.3 \| ≥ 30.0.0-alpha.1, \< 30.0.3
- Npm electron (Npm): \< 28.3.2 \| ≥ 29.0.0-alpha.1, \< 29.3.3 \| ≥ 30.0.0-alpha.1, \< 30.0.3

## References

- <https://github.com/electron/electron/security/advisories/GHSA-6r2x-8pq8-9489>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46993>
- <https://github.com/electron/electron>

---

Data as of 2026-12-05T09:39:05.947Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
