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.
Affected products
immutable-js: immutable
References6
- github.com/immutable-js/immutable-js/security/advisories/GHSA-v… ExploitMitigationVendor Advisory
- github.com/immutable-js/immutable-js/security/advisories/GHSA-v… ExploitMitigationVendor Advisory
- github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab3… Patch
- github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2… Patch
- github.com/immutable-js/immutable-js/releases/tag/v4.3.9 ProductRelease Notes
- github.com/immutable-js/immutable-js/releases/tag/v5.1.8 ProductRelease Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
-
8.7
HIGH
Score source: CNA
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 — exploit probability
- 1% percentile: 48 · as of 15 November 2026
- CWE
- CWE-190CWE-400CWE-835CWE-1284
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.