CVSS 3.1
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Атакува се по мрежата, без особени условия, без вход и без действие от потребителя.
- Експлоатация: има публичен пример за експлоатация
- Атаката може да се автоматизира
Описание
Оригинално описание
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.
Засегнати продукти
- le0pard re2js: >= 2.2.0, < 2.8.7
Вид слабост
История
- 28 октомври 2026 Публикувано
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-116795
- https://nvd.nist.gov/vuln/detail/CVE-2026-116795
- https://github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9c
- https://github.com/le0pard/re2js/pull/59
- https://github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395
- https://github.com/le0pard/re2js/releases/tag/2.8.7