8.7High

CVE-2026-59879Immutable.js `List` 32-bit trie overflow → unrecoverable DoS

immutable-js immutable-js Published: (4 months ago)

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.

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
immutable-js immutable < 4.3.9
immutable-js immutable-js >= 5.0.0-beta.1, < 5.1.8, < 4.3.9

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* < 4.3.9
  • cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:* ≥ 5.0.0 < 5.1.8