{"cve":"CVE-2026-34774","nvd":{"published":"2026-04-04T00:16:18.447","modified":"2026-07-24T22:10:00.140","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1},"cwes":["CWE-416","CWE-825"],"references":["https://github.com/electron/electron/security/advisories/GHSA-532v-xpq5-8h95","https://access.redhat.com/security/cve/CVE-2026-34774","https://bugzilla.redhat.com/show_bug.cgi?id=2455026","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34774.json"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-34774","score":0.00452,"percentile":0.39301,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-532v-xpq5-8h95","url":"https://osv.dev/vulnerability/GHSA-532v-xpq5-8h95","summary":"Electron: Use-after-free in offscreen child window paint callback","modified":"2026-04-06T23:19:58.922968Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<39.8.1"],"fixed":["39.8.1"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=40.0.0-alpha.1 <40.7.0"],"fixed":["40.7.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=41.0.0-alpha.1 <41.0.0"],"fixed":["41.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}