Inefficient Algorithmic Complexity Affecting immutable package, versions <4.3.9>=5.0.0-beta.1 <5.1.8


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th 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-IMMUTABLE-17900558
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditnvth

Introduced: 8 Jul 2026

NewCVE-2026-59880  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade immutable to version 4.3.9, 5.1.8 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the HashCollisionNode class in Immutable.Map and Immutable.Set. An attacker can cause excessive CPU consumption by supplying a large number of keys with identical 32-bit hashes, leading to degraded insertion and lookup performance through crafted input objects.

CVSS Base Scores

version 4.0
version 3.1