{"id":"CVE-2026-54257","aliases":["CVE-2026-54257","GHSA-q6m5-f73j-m9mc"],"related":[],"kind":"vulnerability","state":"published","title":"Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nMost apps will crash and some may perform incorrect buffer allocations in the Node.js `Buffer` API resulting in unexpected truncation or allocation.\n\n### Workarounds\nNo workarounds. Do not use these impacted Electron releases\n\n### Fixed Versions\n* `42.3.3`\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)","format":"markdown","source":"ghsa"}],"published":"2026-06-15T20:20:24.000Z","modified":"2026-07-20T21:15:24.427Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"CRITICAL"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":">= 42.3.1, < 42.3.3","status":"affected"}],"vendor":"electron","product":"electron","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"42.3.1","status":"affected","fixed":"42.3.3"}],"ecosystem":"npm","package":"electron","purl":"pkg:npm/electron","source":"ghsa"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54257","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/electron/electron","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-23T17:47:37.791Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54257","url":"https://www.cve.org/CVERecord?id=CVE-2026-54257","licence":"CVE Terms of Use","modified":"2026-06-23T17:47:47.594Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6m5-f73j-m9mc","url":"https://github.com/advisories/GHSA-q6m5-f73j-m9mc","licence":"CC-BY-4.0","modified":"2026-07-20T21:15:24.427Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54257","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54257","licence":"Public domain","modified":"2026-06-25T20:18:11.603Z"}],"updatedAt":"2026-11-25T22:59:25.517Z","epss":{"score":0.00253,"percentile":0.17901,"date":"2026-12-01T12:00:22.000Z"}}