CVE-2026-54257
electron: Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
Overview
Description
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: OX vulnerability database
Severity
7.1 · CRITICAL
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-120
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | electron | >=42.3.1, <42.3.3 | 42.3.3 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-54257
- github.com https://github.com/electron/electron
- github.com https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-54257
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-54257
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.