Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-116795
VULNERABILITY

CVE-2026-116795

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.5
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Oct 28, 2026 18:17
Modified
Nov 2, 2026 21:17
Last observed
Nov 2, 2026 17:00

CWE

CWE-407CWE-1333

References