# CVE-2026-59880: Immutable.js: Hash-collision algorithmic complexity denial of service in Immutable.Map/Set

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T15:44:23.414Z
- Modified: 2026-09-10T03:51:12.758Z
- Also known as: GHSA-xvcm-6775-5m9r
- Weaknesses: CWE-400, CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Immutable.js provides many Persistent Immutable data structures. Prior to 4.3.9 and 5.1.8, Immutable.Map and Immutable.Set keep keys that share the same 32-bit hash in a HashCollisionNode collision bucket that is scanned linearly, allowing an attacker who controls keys inserted into a Map, such as through Immutable.Map(obj), Immutable.fromJS(obj), state.merge(userObject), or mergeDeep, to craft many colliding keys and degrade insertion and lookup to consume disproportionate CPU. This issue is fixed in versions 4.3.9 and 5.1.8.

(As written by CVE List.)

## Affected

- immutable-js immutable-js: < 4.3.9; >= 5.0.0-beta.1, < 5.1.8
- immutable (npm): from 4.0.0-beta.1 before 4.3.9; from 5.0.0-beta.1 before 5.1.8; before 3.8.4
- immutable-js immutable: before 4.3.9; from 5.0.0 before 5.1.8

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/immutable-js/immutable-js/security/advisories/GHSA-xvcm-6775-5m9r> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/immutable-js/immutable-js/commit/3dd7e5655012597a41873e328bf9142a8901527b> (patch, web)
- <https://github.com/immutable-js/immutable-js/commit/e51d49fc612ded5ec4dfb94ff294d22074269b0f> (patch, web)
- <https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9> (release-notes, web)
- <https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59880> (advisory)
- <https://github.com/immutable-js/immutable-js> (package)
- <https://github.com/immutable-js/immutable-js/releases/tag/v3.8.4> (web)

## Sources

- CVE List: [CVE-2026-59880](https://www.cve.org/CVERecord?id=CVE-2026-59880), CVE Terms of Use, modified 2026-07-08
- GitHub Advisory Database: [GHSA-xvcm-6775-5m9r](https://github.com/advisories/GHSA-xvcm-6775-5m9r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59880](https://nvd.nist.gov/vuln/detail/CVE-2026-59880), Public domain, modified 2026-07-10

---

Page: https://cve.day/CVE-2026-59880 · Whole record: https://cve.day/CVE-2026-59880.json · Rebuilt by cve.day 2026-11-25T22:59:27.394Z
