PatchSiren

immutable-js CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH immutable-js CVE published 2026-07-08

CVE-2026-59879

CVE-2026-59879 is a denial of service (DoS) vulnerability in Immutable.js, a JavaScript library for immutable data structures. The vulnerability affects versions prior to 4.3.9 and 5.1.8. Specifically, the List#set, List#setSize, List#setIn, List#updateIn, and functional set, setIn, and updateIn methods mishandle indices or sizes in the range 2 ** 30 to 2 ** 31 in the setListBounds function in src/List.js. This can cause 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.

HIGH immutable-js CVE published 2026-07-08

CVE-2026-59880

CVE-2026-59880 is a denial-of-service vulnerability in Immutable.js, a JavaScript library for immutable data structures. Versions before 4.3.9 and 5.1.8 are affected. The vulnerability arises from the way Immutable.Map and Immutable.Set handle keys with the same 32-bit hash in a HashCollisionNode. An attacker who controls keys inserted into a Map can craft colliding keys to degrade insertion and lookup operations, consuming disproportionate CPU. This issue can be mitigated by updating to a fixed version and reviewing user-controlled input to Immutable.Map and Immutable.Set. The vulnerability impacts applications using Immutable.js versions before 4.3.9 and 5.1.8, particularly those with user-controlled input to Immutable.Map and Immutable.Set.