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

Published · last modified .

EPSS exploit prediction

EPSS 0.004, 37.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Electron — versions >= 42.3.1, < 42.3.3

Weakness classification (CWE)

References