Algorithmic Complexity Affecting unleash package, versions <8.2.1-r5


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.53% (46th 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-UNLEASH-22100450
  • published31 Oct 2026
  • disclosed28 Oct 2026

Introduced: 28 Oct 2026

NewCVE-2026-116795  (opens in a new tab)
CWE-407  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard unleash to version 8.2.1-r5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream unleash package and not the unleash package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching. From 2.2.0 until 2.8.7, enabling LOOKBEHINDS and using repeated matching through matcher().find(), matchAll(), split(), or matcher().replaceAll() can cause quadratic total work. Machine.match restarts lookbehind scanning from offset zero for each requested start position, while Matcher-based APIs request capture slots that prevent the early exit used for captureless matching. Dense matches therefore repeatedly rescan the input, allowing attacker-influenced text to monopolize a single-threaded worker and deny service. This issue is fixed in version 2.8.7.