Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-54257 EUVD-2026-38539GHSA-q6m5-f73j-m9mc

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

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
electron electron >= 42.3.1, < 42.3.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm electron >= 42.3.1, < 42.3.3 42.3.3 GHSA-q6m5-f73j-m9mc

References