{"id":"CVE-2026-34772","aliases":["GHSA-9w97-2464-8783"],"url":"https://o3.security/vulnerability/CVE-2026-34772","summary":"Electron: Use-after-free in download save dialog callback","details":"### Impact\nApps 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.\n\nApps that do not destroy sessions at runtime, or that do not permit downloads, are not affected.\n\n### Workarounds\nAvoid destroying sessions while a download save dialog may be open. Cancel pending downloads before session teardown.\n\n### Fixed Versions\n* `41.0.0-beta.7`\n* `40.7.0`\n* `39.8.0`\n* `38.8.6`\n\n### For more information\nIf there are any questions or comments about this advisory, please email [security@electronjs.org](mailto:security@electronjs.org)","published":"2026-04-03T23:49:20.467Z","modified":"2026-08-12T16:23:48.175103Z","cvss":{"score":5.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"38.8.6"},{"ecosystem":"npm","name":"electron","fixedVersion":"39.8.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"40.7.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"41.0.0-beta.7"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34772.json"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-9w97-2464-8783"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34772"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T16:23:48.175103Z"}}