Immutable.js versions prior to 4.3.9, 5.1.8, and 3.8.4 contain a vulnerability in the List data structure where certain operations mishandle large indices or sizes in the range [2^30, 2^31). This causes either an uncatchable infinite loop on empty Lists or an out-of-memory crash on populated Lists, resulting in denial of service. Additionally, a silent data corruption issue exists in setSize where large sizes wrap incorrectly. The vulnerability affects availability only and does not impact confidentiality or integrity. A fix is available in versions 4.3.9, 5.1.8, and 3.8.4.