Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Electron: Use-after-free in offscreen child window paint callback

CVSS 3.1 8.1 HIGHEUVD CVSS 3.1 8.1 CVSS 3.1 · [email protected] · Secondary 8.1 HIGHCVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary 8.1 HIGHCVSS_V3 Publisher rating HIGHFixed by electron 39.8.1Fixed by electron 40.7.0Fixed by electron 41.0.0KEV status unknown

cve-program · CVE-2026-34774

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-18947

Published

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.

Read the publisher's advisory

nvd · CVE-2026-34774

Published

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.

Read the publisher's advisory

osv · GHSA-532v-xpq5-8h95

Published

### Impact 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. ### Workarounds Deny child window creation from offscreen renderers in your `setWindowOpenHandler`, or ensure child windows are closed before the parent is destroyed. ### Fixed Versions * `41.0.0` * `40.7.0` * `39.8.1` ### For more information If there are any questions or comments about this advisory, please email [[email protected]](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-34774

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "electron",
                    "product": "electron",
                    "versions": [
                        {
                            "version": "< 39.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 40.0.0-alpha.1, < 40.7.0",
                            "status": "affected"
                        },
                        {
                            "version": ">= 41.0.0-alpha.1, < 41.0.0",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-18947

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 3, 2026, 11:52:38 PM

dateUpdated: Jul 15, 2026, 1:03:48 AM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-34774

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-416 · CWE-825

Original publisher date fields

published: 2026-04-04T00:16:18.447

lastModified: 2026-07-24T22:10:00.140

15 source CPE criteria · context only
  • 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:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta8:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-532v-xpq5-8h95

Published

electron

npm

SEMVER · introduced 0 → fixed 39.8.1

electron

npm

SEMVER · introduced 40.0.0-alpha.1 → fixed 40.7.0

electron

npm

SEMVER · introduced 41.0.0-alpha.1 → fixed 41.0.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 02:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current