{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-54257: Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-54257","status":"final","version":"1","initial_release_date":"2026-06-23T17:08:31.786Z","current_release_date":"2026-06-23T17:47:47.594Z","revision_history":[{"date":"2026-06-23T17:08:31.786Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-54257 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-54257"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-54257"},{"category":"external","summary":"https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc","url":"https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc"}]},"product_tree":{"branches":[{"category":"vendor","name":"electron","branches":[{"category":"product_name","name":"electron","branches":[{"category":"product_version","name":">= 42.3.1, < 42.3.3","product":{"name":"electron electron >= 42.3.1, < 42.3.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:electron:electron:\\>\\=_42.3.1\\,_\\<_42.3.3:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-54257","title":"Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow","notes":[{"category":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":9.3,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}