Integer Overflow or Wraparound Affecting keep package, versions <0.54.2-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.54% (45th 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-CHAINGUARDLATEST-KEEP-18565132
  • published6 Aug 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 Chainguard keep to version 0.54.2-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keep package and not the keep package as distributed by Chainguard. See How to fix? for Chainguard 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.

CVSS Base Scores

version 3.1