8.7High

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

immutable-js immutable-js Published: (4 months ago)

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.

Weakness (CWE): CWE-407

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

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

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* < 4.3.9
  • cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* ≥ 5.0.0 < 5.1.8