CVE-2026-34774
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, an
CVSS
8.1
High
EPSS
0.4%
p36
KEV
—
Exploit Today
11
0-100
Published: Apr 4, 2026 · Last modified: Jul 15, 2026 · CWE-416 · CWE-825
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed while a child window remains open, subsequent paint frames on the child dereference freed memory, which may lead to a crash or memory corruption. Apps are only affected if they use offscreen rendering (webPreferences.offscreen: true) and their setWindowOpenHandler permits child windows. Apps that do not use offscreen rendering, or that deny child windows, are not affected. This issue has been patched in versions 39.8.1, 40.7.0, and 41.0.0.
- github.comhttps://github.com/electron/electron/security/advisories/GHSA-532v-xpq5-8h95
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2026-34774
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2455026
- security.access.redhat.comhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34774.json