Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-54257

CVE-2026-54257: Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

June 15, 2026 (updated July 20, 2026)

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

References

  • github.com/advisories/GHSA-q6m5-f73j-m9mc
  • github.com/electron/electron/security/advisories/GHSA-q6m5-f73j-m9mc
  • nvd.nist.gov/vuln/detail/CVE-2026-54257

Code Behaviors & Features

Detect and mitigate CVE-2026-54257 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 42.3.1 before 42.3.3

Fixed versions

  • 42.3.3

Solution

Upgrade to version 42.3.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/electron/CVE-2026-54257.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:11 +0000.