CVE-2026-59879
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-08
- Last modified
- 2026-07-10
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 36 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| immutable (npm) | < 4.3.9 | Affected | |
| immutable (npm) | ≥ 5.0.0-beta.1, < 5.1.8 | Affected | |
| Immutable-js | Immutable | < 4.3.9 | Affected |
| Immutable-js | Immutable | ≥ 5.0.0, < 5.1.8 | Affected |
Weakness type
-
CWE-1284: Improper Validation of Specified Quantity in Input
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
-
CWE-190: Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is i…
-
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
-
CWE-835: Loop with Unreachable Exit Condition
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1499: Endpoint Denial of Service
References
- https://github.com/immutable-js/immutable-js/commit/a1a1ee412dcaa380ab325196283d06594ffe4…
- https://github.com/immutable-js/immutable-js/commit/f0bc997d8eb9886aff2236635aa210a95a043…
- https://github.com/immutable-js/immutable-js/releases/tag/v4.3.9
- https://github.com/immutable-js/immutable-js/releases/tag/v5.1.8
- 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
Related at Berigo
Articles
-
GigaWiper combines surveillance with three wiper functions
Same product
2026-07-09
Microsoft describes GigaWiper, a backdoor assembled from older malware that surveils, remotely controls and destroys data.
-
Critical unauthenticated vulnerability in Splunk Enterprise
Same product
2026-06-10
CVE-2026-20253, scored 9.8, lets an unauthenticated attacker create or truncate files via a PostgreSQL sidecar in Splunk.
-
Critical Veeam Backup and Replication flaw on domain-joined servers
Same product
2026-06-09
CVE-2026-44963 lets an authenticated domain user execute code on the backup server. Domain-joined version 12 installations are affected.
-
Lazarus turns to Medusa ransomware against Middle East and US healthcare
Same product
2026-02-24
The North Korea-linked group has shifted from custom malware to ransomware-as-a-service, according to Symantec and the Carbon Black Threat Hunter Tea…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.