Advisory

GHSA-q6m5-f73j-m9mc

Also known as: CVE-2026-54257

Summary

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

Details

Impact
Most apps will crash and some may perform incorrect buffer allocations in the Node.js Buffer API resulting in unexpected truncation or allocation.

Workarounds
No workarounds. Do not use these impacted Electron releases

Fixed Versions

  • 42.3.3

For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-15 20:20 UTC
Modified
2026-07-20 21:15 UTC

Affected packages and fixes

electron

npm · All systems

Affected

  • introduced 42.3.1, fixed 42.3.3 (semver)

Fixed versions

42.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences