{"schemaVersion":3,"id":"CVE-2026-34771","aliases":["GHSA-8337-3p73-46f4"],"status":"published","duplicateOf":null,"title":null,"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 register an asynchronous session.setPermissionRequestHandler() may be vulnerable to a use-after-free when handling fullscreen, pointer-lock, or keyboard-lock permission requests. If the requesting frame navigates or the window closes while the permission handler is pending, invoking the stored callback dereferences freed memory, which may lead to a crash or memory corruption. Apps that do not set a permission request handler, or whose handler responds synchronously, 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.","dates":{"published":"2026-04-03T23:47:23.171Z","modified":"2026-07-15T01:03:51.333Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00379,"percentile":0.30592,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.09199999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00287},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00379,"percentile":0.30592}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00379,"percentile":0.30592}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"},{"id":"CWE-364","name":"Signal Handler Race Condition","description":"The product uses a signal handler that introduces a race condition.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/364.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0-alpha.1, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0-beta.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0-alpha.1, < 39.8.0 | ≥ 40.0.0-alpha.1, < 40.7.0 | ≥ 41.0.0-alpha.1, < 41.0.0-beta.8","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:alpha6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta2","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta3","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta4","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta5","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta6","noFixRecorded":false,"fixedIn":null},{"text":"41.0.0:beta7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0, < 39.8.0 | ≥ 40.0.0, < 40.7.0 | 41.0.0:alpha1 | 41.0.0:alpha2 | 41.0.0:alpha3 | 41.0.0:alpha4 | 41.0.0:alpha5 | 41.0.0:alpha6 | 41.0.0:beta1 | 41.0.0:beta2 | 41.0.0:beta3 | 41.0.0:beta4 | 41.0.0:beta5 | 41.0.0:beta6 | 41.0.0:beta7","eol":{"isEol":true,"eolDate":"2026-08-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"41","label":"41","eolFrom":"2026-08-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"41.10.7"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 39.0.0-alpha.1, < 39.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 40.0.0-alpha.1, < 40.7.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 41.0.0-alpha.1, < 41.0.0-beta.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 38.8.6 | ≥ 39.0.0-alpha.1, < 39.8.0 | ≥ 40.0.0-alpha.1, < 40.7.0 | ≥ 41.0.0-alpha.1, < 41.0.0-beta.8","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-8337-3p73-46f4","label":"github.com/electron/electron/security/advisories/GHSA-8337-3p73-46f4","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34771","label":"access.redhat.com/security/cve/CVE-2026-34771","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2454995","label":"bugzilla.redhat.com/show_bug.cgi?id=2454995","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34771.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34771.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34771","label":"nvd.nist.gov/vuln/detail/CVE-2026-34771","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-03T23:47:23.171Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:03:51.333Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:18:57.948Z","stale":false,"partial":false}}