CVE-2026-59880Immutable-js Immutable
High 8.7 No auth needed
Follow: this CVE · Immutable-js · Immutable-js Immutable We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Jul 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-407
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for Immutable.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | immutable |
≥ 4.0.0-beta.1 < 4.3.9 |
4.3.9 |
npm install immutable@4.3.9 |
| npm | immutable |
≥ 5.0.0-beta.1 < 5.1.8 |
5.1.8 |
npm install immutable@5.1.8 |
| npm | immutable |
< 3.8.4 |
3.8.4 |
npm install immutable@3.8.4 |
Per OSV / GitHub Advisories (GHSA-xvcm-6775-5m9r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| immutable-js | immutable | < 4.3.9 |
| immutable-js | immutable | ≥ 5.0.0 < 5.1.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory