{"id":"CVE-2026-54257","published":"2026-06-23T17:08:31Z","modified":"2026-06-23T17:47:47Z","title":"Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow","vendor":"electron","product":"electron","tier":"tail","description":{"text":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.1 until 42.3.3, Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow. Most apps will crash and some may perform incorrect buffer allocations in the Node.js Buffer API resulting in unexpected truncation or allocation. This vulnerability is fixed in 42.3.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00428,"percentile":0.28747,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":5.75},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":[">= 42.3.1, < 42.3.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T17:47:37.791277Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=42.3.1, <42.3.3"],"patched":["42.3.3"],"from":["GHSA-q6m5-f73j-m9mc"],"provenance":"source"}],"summary":{"text":"The flaw is an incorrect byte length calculation in the Buffer component of Electron, a framework for building cross-platform desktop applications with JavaScript, HTML and CSS, affecting versions from 42.3.1 through 42.3.3, which results in heap buffer underflow or overflow. An attacker with network access and no authentication or user interaction can exploit this to cause the application to crash or to trigger incorrect buffer allocations in the Node.js Buffer API, leading to unexpected truncation or allocation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:34Z"},"euvd":{"id":"EUVD-2026-38539","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-70601","published":"2026-08-05","fixed":"42.0.0-beta.5","kev":false},{"cve":"CVE-2026-70604","published":"2026-08-05","fixed":"42.0.0","kev":false},{"cve":"CVE-2026-70608","published":"2026-08-05","fixed":"42.0.1","kev":false},{"cve":"CVE-2026-54257","published":"2026-06-23","fixed":"42.3.3","kev":false},{"cve":"CVE-2026-102673","published":"2026-09-29","fixed":"43.0.0","kev":false},{"cve":"CVE-2026-70606","published":"2026-08-05","fixed":"43.0.0","kev":false,"link":{"from":"CVE-2026-54257","to":"CVE-2026-70606","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.3.3","toFixed":"42.5.1","daysApart":43}]}},{"cve":"CVE-2026-102674","published":"2026-09-29","fixed":"44.0.0-beta.5","kev":false}],"package":"npm:electron"}}