{"schemaVersion":4,"id":"CVE-2026-116795","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"],"status":"published","duplicateOf":null,"title":"RE2JS: Quadratic-time denial of service in re2js lookbehind matching","description":"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.","dates":{"published":"2026-10-28T17:14:15.988Z","modified":"2026-11-02T20:21:58.052Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.00562,"percentile":0.48157,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.09700000000000003,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00465},"history":[{"date":"2026-10-29T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00562,"percentile":0.48157}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00465,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00531,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0063,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00562,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00562,"percentile":0.48157}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity","description":"An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/407.html"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"chainguard","product":"kibana-9.5","name":"kibana-9.5","label":"kibana-9.5","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kibana-9.5","purlType":"apk","versions":[{"text":"< 9.5.5-r7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"9.5.5-r7","endInclusive":false}}],"versionsText":"< 9.5.5-r7","eol":null,"hubHref":null},{"vendor":"chainguard","product":"renovate","name":"renovate","label":"renovate","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/renovate","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 44.198.3-r1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"44.198.3-r1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 44.198.3-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"unleash","name":"unleash","label":"unleash","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/unleash","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 8.2.1-r5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"8.2.1-r5","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 8.2.1-r5","eol":null,"hubHref":null},{"vendor":"chainguard","product":"unleash-fips","name":"unleash-fips","label":"unleash-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/unleash-fips","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 8.2.1-r3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"8.2.1-r3","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 8.2.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"renovate","name":"renovate","label":"renovate","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/renovate","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 44.198.3-r1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"44.198.3-r1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 44.198.3-r1","eol":null,"hubHref":null},{"vendor":"le0pard","product":"re2js","name":"re2js","label":"re2js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 2.8.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.8.7","endInclusive":false}}],"versionsText":"≥ 2.2.0, < 2.8.7","eol":null,"hubHref":"/vendor/le0pard/re2js"},{"vendor":"Npm","product":"re2js","name":"re2js","label":"re2js","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/re2js","purlType":"npm","versions":[{"text":"≥ 2.2.0, < 2.8.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.8.7","endInclusive":false}}],"versionsText":"≥ 2.2.0, < 2.8.7","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9c","label":"github.com/le0pard/re2js/security/advisories/GHSA-gg6h-894w-4m9c","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/le0pard/re2js/pull/59","label":"github.com/le0pard/re2js/pull/59","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395","label":"github.com/le0pard/re2js/commit/dfdd947785dfa113bdc97416375c246a39458395","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/le0pard/re2js/releases/tag/2.8.7","label":"github.com/le0pard/re2js/releases/tag/2.8.7","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116795","label":"nvd.nist.gov/vuln/detail/CVE-2026-116795","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/le0pard/re2js","label":"github.com/le0pard/re2js","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116795.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116795.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-28T17:14:15.988Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-02T20:21:58.052Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 2.8.7 (CNA); fix release not confirmed","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00562,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-02T20:21:58.052Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-02T20:21:58.052Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_npm","date":"2026-11-02T20:21:58.052Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-02T20:21:58.052Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-11-02T20:21:58.052Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-02T20:21:37.507Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"}],"epss":{"value":0.00562,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:11:06.162Z","stale":false,"partial":false}}