# CVE-2026-54257: Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 42.3.3 (CNA); fix release not confirmed
- Status: published
- Published: 2026-06-23 · Modified: 2026-06-23
- Aliases: GHSA-q6m5-f73j-m9mc
- Record: https://cvemate.com/vulnerability/CVE-2026-54257 · JSON: https://cvemate.com/vulnerability/CVE-2026-54257/json

## 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.
```

## Signals

- CVSS: 9.3 critical (v4.0, CVE.org) 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
- EPSS: 0.253%, percentile 17.857%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- electron electron: ≥ 42.3.1, \< 42.3.3
- Npm electron (Npm): ≥ 42.3.1, \< 42.3.3

## References

- <https://github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54257>
- <https://github.com/electron/electron>

---

Data as of 2026-12-05T08:50:05.759Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
