{"id":"CVE-2026-59879","state":"PUBLISHED","title":"Immutable.js `List` 32-bit trie overflow → unrecoverable DoS","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.","publishedAt":"2026-07-08T15:47:24.885Z","updatedAt":"2026-07-08T19:41:12.330Z","severity":{"score":8.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["immutable-js immutable-js"],"affected":[{"vendor":"immutable-js","product":"immutable-js","versions":[{"version":">= 5.0.0-beta.1, < 5.1.8","status":"affected"},{"version":"< 4.3.9","status":"affected"}]}],"references":["https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735","https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84","https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a","https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9","https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8"],"weaknesses":["CWE-190","CWE-400","CWE-835","CWE-1284"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59879.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59879","state":"PUBLISHED","datePublished":"2026-07-08T15:47:24.885Z","dateUpdated":"2026-07-08T19:41:12.330Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T16:40:07.982Z"},"containers":{"cna":{"title":"Immutable.js `List` 32-bit trie overflow → unrecoverable DoS","descriptions":[{"lang":"en","value":"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":[{"vendor":"immutable-js","product":"immutable-js","versions":[{"version":">= 5.0.0-beta.1, < 5.1.8","status":"affected"},{"version":"< 4.3.9","status":"affected"}]}],"references":[{"url":"https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735","name":"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","name":"https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84","tags":["x_refsource_MISC"]},{"url":"https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a","name":"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","name":"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","name":"https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1284","lang":"en","description":"CWE-1284: Improper Validation of Specified Quantity in Input","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T15:47:24.885Z"},"source":{"advisory":"GHSA-v56q-mh7h-f735","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T17:51:48.441737Z","id":"CVE-2026-59879","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T19:41:12.330Z"}}]}}}