CVE-2026-59880
HIGH 8.7CVSS 4.0Immutable: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set
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.
- Published
- 8 Jul 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-407
- Also known as
- GHSA-xvcm-6775-5m9r
- Sources
- NVDJSONOSV GHSA-xvcm-6775-5m9rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | immutable-js | immutablecpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* |
< 4.3.9 | 4.3.9 |
| NVD | immutable-js | immutablecpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* |
>= 5.0.0, < 5.1.8 | 5.1.8 |
| OSV | npm | immutable | >= 4.0.0-beta.1, < 4.3.9 | 4.3.9 |
| OSV | npm | immutable | >= 5.0.0-beta.1, < 5.1.8 | 5.1.8 |
| OSV | npm | immutable | < 3.8.4 | 3.8.4 |
References
- https://github.com/immutable-js/immutable-js/commit/3dd7e5655012597a41873e328bf9142a8901527b · Patch, WEB
- https://github.com/immutable-js/immutable-js/commit/e51d49fc612ded5ec4dfb94ff294d22074269b0f · Patch, WEB
- https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9 · Release Notes, WEB
- https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8 · Release Notes, WEB
- https://github.com/immutable-js/immutable-js/security/advisories/GHSA-xvcm-6775-5m9r · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59880 · ADVISORY
- https://github.com/immutable-js/immutable-js · PACKAGE
- https://github.com/immutable-js/immutable-js/releases/tag/v3.8.4 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Jul 2026)