Incorrect Calculation of Buffer Size Affecting electron package, versions <37.2.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
2.17% (84th 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-10906462
  • published24 Jul 2025
  • disclosed15 Jul 2025
  • creditUnknown

Introduced: 15 Jul 2025

NewCVE-2025-6558  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade electron to version 37.2.4 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 Incorrect Calculation of Buffer Size via insufficient validation of untrusted input in ANGLE and GPU. An attacker can escape the sandbox by submitting a specially crafted HTML page.

CVSS Base Scores

version 4.0
version 3.1