{"id":"CVE-2026-59880","published":"2026-07-08T15:44:23Z","modified":"2026-07-08T16:13:46Z","title":"Immutable.js: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set","vendor":"immutable-js","product":"immutable-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00665,"percentile":0.52735,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/immutable-js/immutable-js/security/advisories/GHSA-xvcm-6775-5m9r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/immutable-js/immutable-js/commit/3dd7e5655012597a41873e328bf9142a8901527b","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/commit/e51d49fc612ded5ec4dfb94ff294d22074269b0f","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.55},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"immutable-js","affectedVersions":[{"vendor":"immutable-js","product":"immutable-js","versions":["< 4.3.9",">= 5.0.0-beta.1, < 5.1.8"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T16:13:29.483011Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"immutable","vulnerableRanges":[">=4.0.0-beta.1, <4.3.9",">=5.0.0-beta.1, <5.1.8","<3.8.4"],"patched":["4.3.9","5.1.8","3.8.4"],"from":["GHSA-xvcm-6775-5m9r"],"provenance":"source"}],"summary":{"text":"Immutable.js, in its Immutable.Map and Immutable.Set data structures, does not properly handle keys that share the same 32-bit hash, storing them in a collision bucket that is scanned linearly. An attacker who can supply keys that are inserted into such a Map or Set, for example through Immutable.Map(obj), Immutable.fromJS(obj), state.merge(userObject), or mergeDeep, can craft many colliding keys to degrade insertion and lookup and consume disproportionate CPU, requiring no network authentication or user interaction beyond the application accepting that input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:12Z"},"euvd":{"id":"EUVD-2026-42315","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-29063","published":"2026-03-06","fixed":"5.1.5","kev":false,"link":{"from":"CVE-2026-29063","to":"CVE-2026-59880","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:immutable","fromFixed":"4.3.8","toFixed":"4.3.9","daysApart":124},{"kind":"version-step","provenance":"source","package":"npm:immutable","fromFixed":"5.1.5","toFixed":"5.1.8","daysApart":124}]}},{"cve":"CVE-2026-59879","published":"2026-07-08","fixed":"5.1.8","kev":false},{"cve":"CVE-2026-59880","published":"2026-07-08","fixed":"5.1.8","kev":false}],"package":"npm:immutable"}}