Vulnerability library
Security checkSeptember 16, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmimmutable

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

List#set, List#setSize, List#setIn, List#updateIn (and the functional set / setIn / updateIn) mishandle an index or size in the range [2 ** 30, 2 ** 31):

  • On an empty List the operation enters an uncatchable infinite loop (a tight CPU spin; a surrounding try/catch never regains control).

Recommendation

Update the immutable package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 3.8.4 >= 4.0.0-rc.1, < 4.3.9 >= 5.0.0-beta.1, < 5.1.8**
  • Patched version(s): **3.8.4 4.3.9 5.1.8**

References

Could your website be exposed too?

SmartScanner can check your website for Immutable.js `List` 32-bit trie overflow → unrecoverable DoS and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 16, 2026