BaselineWatch
Desk

CVE-2026-116795

7.5 high Published

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.

Fix

Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.

Change history 4

  1. StatusReceived → PublishedNVD modified 2026-10-28 17:14
  2. StatusPublished → ReceivedNVD modified 2026-10-28 18:17
  3. StatusReceived → PublishedNVD modified 2026-10-28 17:14
  4. First seenCVSS 7.5NVD modified 2026-10-28 18:17

Affected (CPE criteria) 0

NVD has not attached CPE configurations yet.

References 4