CVE-2026-34772
CVE-2026-34772 is a medium-severity vulnerability in Electronjs Electron with a CVSS 3.x base score of 5.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-416.
Key facts
- Severity: Medium (CVSS 3.x base score 5.8)
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-18943
- Weakness: CWE-416
- Affected product: Electronjs Electron
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-34772?
- 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.
- How severe is CVE-2026-34772?
- CVE-2026-34772 has a CVSS 3.x base score of 5.8, rated medium severity. It is exploitable over local access with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity low, and availability low.
- Is CVE-2026-34772 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34772?
- CVE-2026-34772 primarily affects Electronjs Electron. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-34772?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-34772 have an EU (EUVD) identifier?
- Yes. CVE-2026-34772 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-18943.
- When was CVE-2026-34772 published?
- CVE-2026-34772 was published on 2026-04-04 and last updated on 2026-06-17.
References
Affected products (14)
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
- cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*
More vulnerabilities in Electronjs Electron
- CVE-2017-16151 — Critical (CVSS 9.8): Based on details posted by the ElectronJS team; A remote code execution vulnerability has been discovered in Google…
- CVE-2018-1000118 — High (CVSS 8.8): Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol…
- CVE-2026-34780 — High (CVSS 8.3): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions…
- CVE-2026-34774 — High (CVSS 8.1): Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to…
- CVE-2018-15685 — High (CVSS 8.1): GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and…
- CVE-2018-1000136 — High (CVSS 8.1): Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values…
All CVEs affecting Electronjs Electron →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…