{"id":"GHSA-q6m5-f73j-m9mc","summary":"Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow","details":"### 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)","aliases":["CVE-2026-54257"],"modified":"2026-07-20T21:15:24.427733273Z","published":"2026-06-15T20:20:24Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-15T20:20:24Z","nvd_published_at":"2026-06-23T18:18:07Z","cwe_ids":["CWE-120"]},"references":[{"type":"WEB","url":"https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54257"},{"type":"PACKAGE","url":"https://github.com/electron/electron"}],"affected":[{"package":{"name":"electron","ecosystem":"npm","purl":"pkg:npm/electron"},"ranges":[{"type":"SEMVER","events":[{"introduced":"42.3.1"},{"fixed":"42.3.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-q6m5-f73j-m9mc/GHSA-q6m5-f73j-m9mc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}