Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity security flaw in immutable-js from immutable-js. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.7%top 48.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-immutableno fix listedDEBIAN-CVE-2026-59880
Debian:13node-immutableno fix listedDEBIAN-CVE-2026-59880
Debian:14node-immutable4.3.9-1DEBIAN-CVE-2026-59880
Ubuntu:22.04:LTSnode-immutableno fix listedUBUNTU-CVE-2026-59880
Ubuntu:24.04:LTSnode-immutableno fix listedUBUNTU-CVE-2026-59880
Ubuntu:25.10node-immutableno fix listedUBUNTU-CVE-2026-59880
Ubuntu:26.04:LTSnode-immutableno fix listedUBUNTU-CVE-2026-59880
Ubuntu:26.10node-immutableno fix listedUBUNTU-CVE-2026-59880
npmimmutable3.8.4GHSA-xvcm-6775-5m9r
npmimmutable4.3.9GHSA-xvcm-6775-5m9r
npmimmutable5.1.8GHSA-xvcm-6775-5m9r

Affected products (as reported)

VendorProductVersions
immutable-js immutable-js < 4.3.9>= 5.0.0-beta.1, < 5.1.8

Weakness: CWE-407 · 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

References