CVE-2026-59880CWE-407

Immutable.js: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set

High · published July 8, 2026

CVSS v4.0
8.7
EPSS
1%
Percentile
51.2
In the wild
Unconfirmed
What it is

Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, Immutable.Map and Immutable.Set keep keys that share the same 32-bit hash in a HashCollisionNode collision bucket that is scanned linearly, allowing an attacker who controls keys inserted into a Map, such as through Immutable.Map(obj), Immutable.fromJS(obj), state.merge(userObject), or mergeDeep, to craft many colliding keys and degrade insertion and lookup to consume disproportionate CPU. This issue is fixed in versions 4.3.9 and 5.1.8.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00665 · 51.2th percentile
Weakness
CWE-407 · Inefficient Algorithmic Complexity
Published
2026-07-08T15:44Z
EPSS history
Timeline
  • 08 JUL 15:44Z
    Immutable.js: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set
    cvelistv5