CVE-2024-46993
published medium CVSS 4.0 · 4.4Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron< 28.3.2 · >= 29.0.0-alpha.1, < 29.3.3 · >= 30.0.0-alpha.1, < 30.0.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 28.3.2 (affected)>= 29.0.0-alpha.1, < 29.3.3 (affected)>= 30.0.0-alpha.1, < 30.0.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
1Provider assertions
2GitHub_M · cna
Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 71f16f0db1af18b6577d81e0e2a0d11fa87587a6a1e81b087013e8cc4da0984a
- Ingested
- 23 Sep 2026, 08:28:19 UTC
- Source record
- Official CVE record