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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1284",
"CWE-190",
"CWE-400",
"CWE-835"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59879.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.3.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.1.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "a1a1ee412dcaa380ab325196283d06594ffe4b84"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f0bc997d8eb9886aff2236635aa210a95a04304a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.3.9",
"range": [
{
"fixed": "5da7919616a015cc03173f8f0bd3ee7101ab27f2"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v5.1.8",
"range": [
{
"fixed": "6496539bd1e9dfa75ce11b053e7d70d79e9ac6f7"
}
],
"source": "REFERENCES_TAG"
}
]
}