Loading advisory.
Loading advisory.
Electron: Use-after-free in download save dialog callback
Apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-file dialog is open for a download, dismissing the dialog dereferences freed memory, which may lead to a crash or memory corruption.
Published 2026-04-03 02:41 UTC · Modified 2026-04-06 23:19 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| electron | npm | < 38.8.6 >= 39.0.0-alpha.1, < 39.8.0 >= 40.0.0-alpha.1, < 40.7.0 >= 41.0.0-alpha.1, < 41.0.0-beta.7 | 38.8.6, 39.8.0, 40.7.0, 41.0.0-beta.7 | npm install electron@38.8.6npm install electron@39.8.0npm install electron@40.7.0npm install electron@41.0.0-beta.7 |
Apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-file dialog is open for a download, dismissing the dialog dereferences freed memory, which may lead to a crash or memory corruption.
Apps that do not destroy sessions at runtime, or that do not permit downloads, are not affected.
Avoid destroying sessions while a download save dialog may be open. Cancel pending downloads before session teardown.
41.0.0-beta.7
40.7.0
39.8.0
38.8.6
If there are any questions or comments about this advisory, please email security@electronjs.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.003 on 2026-11-30, over 3 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.002 | v2026.06.15 |
| 2026-11-30 | 0.003 | 0.003 | v2026.06.15 |