CVE-2026-54257: Vulnerability in electron
Critical. 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.
npm, CWE-120
- Exploitation
- None confirmed
- Severity
- 9.3 of 10
- Attack likelihood
- 0.4 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q6m5-f73j-m9mc
- EU ID
- EUVD-2026-38539
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Weakness
- CWE-120
- Published
- 15 Jun 2026
- Last change
- 20 Jul 2026
- Likelihood rank
- Higher than 29 % of all rated vulnerabilities
- Analysis status
- Deferred
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- electron npm, Affected from 42.3.1 before 42.3.3. Fixed in 42.3.3
Advisories
Vendor and security advisories