Live threats

All CVEs / electron

CVE-2024-46993electron

Medium 4.4

Priority
26
CVSS 4.0
4.4
EPSS
0.2%
probability of exploitation in 30 days · percentile 8
Auth required
Yes
Published
Jul 1, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for electron.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm electron < 28.3.2 28.3.2 npm install electron@28.3.2
npm electron ≥ 29.0.0-alpha.1 < 29.3.3 29.3.3 npm install electron@29.3.3
npm electron ≥ 30.0.0-alpha.1 < 30.0.3 30.0.3 npm install electron@30.0.3

Per OSV / GitHub Advisories (GHSA-6r2x-8pq8-9489). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.