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-08 20:16:58 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
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 |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
NoneConfidentiality
NoneIntegrity
NoneAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
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 | |
| github.com/immutable-js/immutable-js/releases/tag/v4.3.9 | [email protected] | github.com | |
| github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d... | [email protected] | github.com | |
| github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-... | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa2... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.