Buffer overflow in Electron

CVE-2026-54257

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (36.5th percentile) — read the EPSS interpretation.

Affected products

  • Electron — versions >= 42.3.1, < 42.3.3

Weakness classification (CWE)

References