CVE-2026-59879

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:*
cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:*

History

10 Jul 2026, 18:48

Type Values Removed Values Added
References () https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84 - () https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4b84 - Patch
References () https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a - () https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a04304a - Patch
References () https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9 - () https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9 - Product, Release Notes
References () https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8 - () https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8 - Product, Release Notes
References () https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735 - () https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:immutable-js:immutable:*:*:*:*:*:node.js:*:*
First Time Immutable-js
Immutable-js immutable
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

08 Jul 2026, 20:16

Type Values Removed Values Added
References () https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735 - () https://github.com/immutable-js/immutable-js/security/advisories/GHSA-v56q-mh7h-f735 -

08 Jul 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 17:17

Updated : 2026-07-10 18:48


NVD link : CVE-2026-59879

Mitre link : CVE-2026-59879

CVE.ORG link : CVE-2026-59879


JSON object : View

Products Affected

immutable-js

  • immutable
CWE
CWE-190

Integer Overflow or Wraparound

CWE-400

Uncontrolled Resource Consumption

CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')

CWE-1284

Improper Validation of Specified Quantity in Input