Vulnerability library
Security checkAugust 14, 2026

Immutable: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set

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

Immutable.Map and Immutable.Set keep keys that share the same 32-bit hash in a collision bucket that is scanned linearly.

Recommendation

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

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

References

Could your website be exposed too?

SmartScanner can check your website for Immutable: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 14, 2026