Live threats

All CVEs / Immutable-js

CVE-2026-59879Immutable-js Immutable

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Jul 8, 2026
Updated
Jul 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-400, CWE-835, CWE-1284
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Immutable.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm immutable ≥ 4.0.0-rc.1 < 4.3.9 4.3.9 npm install immutable@4.3.9
npm immutable ≥ 5.0.0-beta.1 < 5.1.8 5.1.8 npm install immutable@5.1.8
npm immutable < 3.8.4 3.8.4 npm install immutable@3.8.4

Per OSV / GitHub Advisories (GHSA-v56q-mh7h-f735). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
immutable-jsimmutable< 4.3.9
immutable-jsimmutable≥ 5.0.0 < 5.1.8

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.