cve.bz

CVE-2024-46993

4.4 mediumEPSS 0.2%

Medium (4.4). EPSS 0.2% chance of exploitation in the next 30 days. Fixed in electron 28.3.2, 29.3.3, 30.0.3.

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.

Severity

CVSS 4.0

4.4 medium
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.2% chance of exploitation in the next 30 days; higher than 4% of CVEs (scores of 2026-10-31)
CWE
CWE-122
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6r2x-8pq8-9489npmelectron<28.3.228.3.2
GHSA-6r2x-8pq8-9489npmelectron>=29.0.0-alpha.1 <29.3.329.3.3
GHSA-6r2x-8pq8-9489npmelectron>=30.0.0-alpha.1 <30.0.330.0.3

References

Check your stackJSON