We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-46993

Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath



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.

Reserved 2024-09-16 | Published 2025-07-01 | Updated 2025-07-01 | Assigner GitHub_M


MEDIUM: 4.4CVSS: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

Problem types

CWE-122: Heap-based Buffer Overflow

Product status

< 28.3.2
affected

>= 29.0.0-alpha.1, < 29.3.3
affected

>= 30.0.0-alpha.1, < 30.0.3
affected

References

github.com/...ectron/security/advisories/GHSA-6r2x-8pq8-9489

cve.org (CVE-2024-46993)

nvd.nist.gov (CVE-2024-46993)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-46993

Support options

Helpdesk Chat, Email, Knowledgebase