{"id":"CVE-2024-46993","aliases":["GHSA-6r2x-8pq8-9489"],"url":"https://o3.security/vulnerability/CVE-2024-46993","summary":"Electron Vulnerable to Heap Buffer Overflow in NativeImage::CreateFromPath","details":"### Impact\nThe `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.\n\n### Workaround\nThere are no app-side workarounds for this issue. You must update your Electron version to be protected.\n\n### Patches\n\n- `v28.3.2`\n- `v29.3.3`\n- `v30.0.3`\n\n### For More Information\n\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org).","published":"2025-07-01T01:55:51.242Z","modified":"2026-08-12T03:51:35.373406512Z","cvss":null,"epss":{"score":0.00129,"percentile":0.02926,"asOf":"2026-07-28"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"28.3.2"},{"ecosystem":"npm","name":"electron","fixedVersion":"29.3.3"},{"ecosystem":"npm","name":"electron","fixedVersion":"30.0.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46993.json"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-6r2x-8pq8-9489"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46993"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.373406512Z"}}