CVE-2026-54257 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
CriticalCVSS 9.3
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm electron(npm) | >= 42.3.1, < 42.3.3 | 42.3.3 | Fixed |
| electron | = >= 42.3.1, < 42.3.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| electron | = >= 42.3.1, < 42.3.3 | No fix listed |
| npm electron(npm) | >= 42.3.1, < 42.3.3 | 42.3.3 |
References
- https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491877 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product