Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M
CVE-2026-59879Immutable.js `List` 32-bit trie overflow → unrecoverable DoS
High 8.7
In plain English
A high-severity integer overflow 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.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, List#set, List#setSize, List#setIn, List#updateIn, and the functional set, setIn, and updateIn mishandle an index or size in the range 2 ** 30 to 2 ** 31 in setListBounds in src/List.js, causing an empty List to enter an uncatchable infinite loop, a populated List to allocate without bound until process abort, or setSize to silently wrap large values. This issue is fixed in versions 4.3.9 and 5.1.8.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-immutable | no fix listed | DEBIAN-CVE-2026-59879 |
| Debian:13 | node-immutable | no fix listed | DEBIAN-CVE-2026-59879 |
| Debian:14 | node-immutable | 4.3.9-1 | DEBIAN-CVE-2026-59879 |
| Ubuntu:22.04:LTS | node-immutable | no fix listed | UBUNTU-CVE-2026-59879 |
| Ubuntu:24.04:LTS | node-immutable | no fix listed | UBUNTU-CVE-2026-59879 |
| Ubuntu:25.10 | node-immutable | no fix listed | UBUNTU-CVE-2026-59879 |
| Ubuntu:26.04:LTS | node-immutable | no fix listed | UBUNTU-CVE-2026-59879 |
| Ubuntu:26.10 | node-immutable | no fix listed | UBUNTU-CVE-2026-59879 |
| npm | immutable | 3.8.4 | GHSA-v56q-mh7h-f735 |
| npm | immutable | 4.3.9 | GHSA-v56q-mh7h-f735 |
| npm | immutable | 5.1.8 | GHSA-v56q-mh7h-f735 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| immutable-js | immutable-js | >= 5.0.0-beta.1, < 5.1.8< 4.3.9 |
Weakness: CWE-190, CWE-400, CWE-835, CWE-1284 · 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
- https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735 x_refsource_CONFIRM
- https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84 x_refsource_MISC
- https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a x_refsource_MISC
- https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9 x_refsource_MISC
- https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8 x_refsource_MISC