{"id":"CVE-2026-34772","published":"2026-04-03T23:49:20Z","modified":"2026-04-06T15:27:44Z","title":"Electron: Use-after-free in download save dialog callback","vendor":"electron","product":"electron","tier":"tail","description":{"text":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, 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. This issue has been patched in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00217,"percentile":0.124,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-9w97-2464-8783","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.48},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 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.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T15:27:31.566763Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<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"],"patched":["38.8.6","39.8.0","40.7.0","41.0.0-beta.7"],"from":["GHSA-9w97-2464-8783"],"provenance":"source"}],"summary":{"text":"Electron, the cross-platform desktop application framework, contains a use-after-free flaw in the callback for the native save-file dialog that appears during downloads. An attacker with local access and user interaction can trigger it when an app that permits downloads and destroys sessions at runtime tears down a session while the save dialog is open, so that dismissing the dialog dereferences freed memory and may cause a crash or memory corruption.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:26Z"},"euvd":{"id":"EUVD-2026-18943","exploited":false,"provenance":"source"}}