{"id":"CVE-2026-34776","published":"2026-04-03T23:56:42Z","modified":"2026-04-06T15:31:46Z","title":"Electron: Out-of-bounds read in second-instance IPC on macOS and Linux","vendor":"electron","product":"electron","tier":"tail","description":{"text":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on macOS and Linux, apps that call app.requestSingleInstanceLock() were vulnerable to an out-of-bounds heap read when parsing a crafted second-instance message. Leaked memory could be delivered to the app's second-instance event handler. This issue is limited to processes running as the same user as the Electron app. Apps that do not call app.requestSingleInstanceLock() are not affected. Windows is not affected by this issue. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00228,"percentile":0.13818,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-3c8v-cfp5-9885","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 38.8.6",">= 39.0.0-alpha.1, < 39.8.1",">= 40.0.0-alpha.1, < 40.8.1",">= 41.0.0-alpha.1, < 41.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T15:31:24.470937Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<38.8.6",">=39.0.0-alpha.1, <39.8.1",">=40.0.0-alpha.1, <40.8.1",">=41.0.0-alpha.1, <41.0.0"],"patched":["38.8.6","39.8.1","40.8.1","41.0.0"],"from":["GHSA-3c8v-cfp5-9885"],"provenance":"source"}],"summary":{"text":"Electron's single-instance IPC handling on macOS and Linux contains an out-of-bounds heap read when parsing a crafted second-instance message, in apps that call app.requestSingleInstanceLock(). Exploitation requires a local attacker running as the same user as the Electron app, and leaked memory can be delivered to the app's second-instance event handler.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:55Z"},"euvd":{"id":"EUVD-2026-18951","exploited":false,"provenance":"source"}}