{"id":"CVE-2026-59879","published":"2026-07-08T15:47:24Z","modified":"2026-07-08T19:41:12Z","title":"Immutable.js `List` 32-bit trie overflow → unrecoverable DoS","vendor":"immutable-js","product":"immutable-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00575,"percentile":0.48391,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-1284","name":"Improper Validation of Specified Quantity in Input"}],"references":[{"url":"https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8","tags":["x_refsource_MISC"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":9.68},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"immutable-js","affectedVersions":[{"vendor":"immutable-js","product":"immutable-js","versions":[">= 5.0.0-beta.1, < 5.1.8","< 4.3.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T17:51:48.441737Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"immutable","vulnerableRanges":[">=4.0.0-rc.1, <4.3.9",">=5.0.0-beta.1, <5.1.8","<3.8.4"],"patched":["4.3.9","5.1.8","3.8.4"],"from":["GHSA-v56q-mh7h-f735"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-42318","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-29063","published":"2026-03-06","fixed":"5.1.5","kev":false,"link":{"from":"CVE-2026-29063","to":"CVE-2026-59879","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:immutable","fromFixed":"4.3.8","toFixed":"4.3.9","daysApart":124},{"kind":"version-step","provenance":"source","package":"npm:immutable","fromFixed":"5.1.5","toFixed":"5.1.8","daysApart":124}]}},{"cve":"CVE-2026-59879","published":"2026-07-08","fixed":"5.1.8","kev":false},{"cve":"CVE-2026-59880","published":"2026-07-08","fixed":"5.1.8","kev":false}],"package":"npm:immutable"}}