4.4

CVE-2024-46993: electron Heap-based Buffer Overflow

CVSS: 4.4v4.0MediumDeferred
AliasesGHSA-6r2x-8pq8-9489
Published 01-07-2025Last modified 02-07-2025

Vulnerability summary

CVE-2024-46993 is a medium (CVSS 4.4) Heap-based Buffer Overflow vulnerability in electron. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.3% of scored vulnerabilities.

Overall risk
18/100
0100
Low · default modelHow is this calculated?
CVSS score
4.4/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.16%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 01-07-2025
    PublishedVulnerability first disclosed.
  2. 02-07-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

+0.03 pp

From 0.13% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.16%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Electron1 product
  • electron< 28.3.2 | ≥ 29.0.0-alpha.1, < 29.3.3 | ≥ 30.0.0-alpha.1, < 30.0.3
Npm1 product
  • electron< 28.3.2 | ≥ 29.0.0-alpha.1, < 29.3.3 | ≥ 30.0.0-alpha.1, < 30.0.3

2 vendors · 2 products

References

3 links