Immutable.js `List` 32-bit trie overflow → unrecoverable DoS
Summary
| CVE | CVE-2026-59879 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-08 17:17:26 UTC |
| Updated | 2026-07-10 18:48:54 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from [email protected]
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
EPSS: 0.003700000 probability, percentile 0.291410000 (date 2026-07-13)
Problem Types: CWE-190 | CWE-400 | CWE-835 | CWE-1284 | CWE-190 CWE-190: Integer Overflow or Wraparound | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') | CWE-1284 CWE-1284: Improper Validation of Specified Quantity in Input
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.7 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.7 | HIGH | 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 |
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v4.0 Breakdown
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
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Immutable-js | Immutable | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Immutable-js | Immutable-js | affected >= 5.0.0-beta.1, < 5.1.8 | Not specified |
| CNA | Immutable-js | Immutable-js | affected < 4.3.9 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/immutable-js/immutable-js/releases/tag/v5.1.8 | [email protected] | github.com | Product, Release Notes |
| github.com/immutable-js/immutable-js/releases/tag/v4.3.9 | [email protected] | github.com | Product, Release Notes |
| github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d... | [email protected] | github.com | Patch |
| github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-... | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | Exploit, Mitigation, Vendor Advisory |
| github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa2... | [email protected] | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |