CVE-2026-54257 PUBLISHED

Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor electron
Product electron
Versions
  • Version >= 42.3.1, < 42.3.3 is affected

References

Problem Types

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') CWE