Integer Overflow or Wraparound Affecting node-immutable package, versions <4.3.9-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.44% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEIMMUTABLE-17912078
  • published9 Jul 2026
  • disclosed8 Jul 2026

Introduced: 8 Jul 2026

CVE-2026-59879  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-835  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-immutable to version 4.3.9-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-immutable package and not the node-immutable package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.