# CVE-2026-116795: RE2JS: Quadratic-time denial of service in re2js lookbehind matching

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.8.7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-28 · Modified: 2026-11-02
- Aliases: GHSA-gg6h-894w-4m9c, CGA-r8q9-4xj9-f54g, CGA-mxf9-mhwp-gr7m, CGA-8p2c-6hmr-cm5p, CGA-9xhv-xfq4-2mp4, CGA-48qx-8cm7-66h3, CGA-cgj5-m3r4-phrg
- Record: https://cvemate.com/vulnerability/CVE-2026-116795 · JSON: https://cvemate.com/vulnerability/CVE-2026-116795/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.562%, percentile 48.157%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kibana-9.5 (Chainguard): \< 9.5.5-r7
- chainguard renovate (Chainguard): All versions (No fix recorded) \| \< 44.198.3-r1
- chainguard unleash (Chainguard): All versions (No fix recorded) \| \< 8.2.1-r5
- chainguard unleash-fips (Chainguard): All versions (No fix recorded) \| \< 8.2.1-r3
- wolfi renovate (Wolfi): All versions (No fix recorded) \| \< 44.198.3-r1
- le0pard re2js: ≥ 2.2.0, \< 2.8.7
- Npm re2js (Npm): ≥ 2.2.0, \< 2.8.7

## References

- <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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116795>
- <https://github.com/le0pard/re2js>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116795.json>

---

Data as of 2026-12-05T08:11:06.162Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
