๐Ÿ” CVE Alert

CVE-2026-116795

HIGH 7.5

RE2JS: Quadratic-time denial of service in re2js lookbehind matching

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-407 CWE-1333
Vendor le0pard
Product re2js
Published Oct 28, 2026
Stay Ahead of the Next One

Get instant alerts for le0pard re2js

Be the first to know when new high vulnerabilities affecting le0pard re2js are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

le0pard / re2js
>= 2.2.0, < 2.8.7

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9c github.com: https://github.com/le0pard/re2js/pull/59 github.com: https://github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395 github.com: https://github.com/le0pard/re2js/releases/tag/2.8.7