Buffer Overflow Affecting electron package, versions >=42.3.1 <42.3.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ELECTRON-17374986
  • published18 Jun 2026
  • disclosed15 Jun 2026
  • creditUnknown

Introduced: 15 Jun 2026

NewCVE-2026-54257  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade electron to version 42.3.3 or higher.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Buffer Overflow in the Buffer API. An attacker can cause application crashes or trigger incorrect memory allocations by supplying specially crafted input to the Node.js Buffer API.

CVSS Base Scores

version 4.0
version 3.1