{"items":[{"id":"NVI-00016367","kind":"vulnerability","title":"re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-6hxr-mr5r-9836","CVE-2026-68499"],"plain_summary":"GitHub lists this reviewed advisory for re2. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3c2540e756e45ad5409bc38180d6cde3"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-31T16:53:11.000Z","value":"6.2 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-6b7a7fb3a4ca2308bf971e4253d7a4cd"},{"kind":"CVSS","as_of":"2026-10-23T22:10:00.160Z","value":"6.2 MEDIUM (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-3c2540e756e45ad5409bc38180d6cde3"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6b7a7fb3a4ca2308bf971e4253d7a4cd","url":"https://github.com/advisories/GHSA-6hxr-mr5r-9836","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-6hxr-mr5r-9836","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:58:49.818Z"},{"id":"sr-3c2540e756e45ad5409bc38180d6cde3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68499","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-68499","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-08T15:07:54.921Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6b7a7fb3a4ca2308bf971e4253d7a4cd"],"technology":"re2","known_exclusions":[],"conditions_summary":"## Summary\n\n`String.prototype.match` with a **global** `RE2` collects all matches in a native loop that advances the cursor by the match length. A **zero-width (empty) match** has length 0, so the cursor never advances: the same empty match is found forever and appended to an ever-growing native vector. Any pattern that can match the empty string (`a*`, `b?`, `x{0,3}`, `(a)|`, `(?:)`, …) therefore causes an infinite loop with unbounded memory growth. The call is synchronous native code, so it blocks the entire event loop and cannot be interrupted by `try/catch`, `AbortController`, `--max-old-space-size`, or timers — the process must be killed externally. This diverges from the built-in engine, where `'xxxx'.match(/a*/g)` returns a finite array.\n\n## Root cause\n\n```cpp\n// lib/match.cc:44 — global branch of WrappedRE2::Match\nwhile (re2->regexp.Match(str, byteIndex, str.size, anchor, &match, 1)) {\n    groups.push_back(match);\n    byteIndex = match.data() - str.data + match.size();   // += 0 for a zero-width match\n}\n```\n\nWhen `match.size() == 0`, `byteIndex` is unchanged, so the next iteration matches the same empty position again; `groups` grows without bound. The other iteration paths","public_affected_ranges":["<= 1.25.1"]}],"null_published_at":"2026-11-08T19:53:44.050Z","source_updated_at":"2026-07-31T16:53:11.000Z","source_disclosed_at":"2026-07-31T16:53:08.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-03T09:58:49.818Z"},{"id":"NVI-00016367","kind":"vulnerability","title":"re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-6hxr-mr5r-9836","CVE-2026-68499"],"plain_summary":"GitHub lists this reviewed advisory for re2. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-6b7a7fb3a4ca2308bf971e4253d7a4cd"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-31T16:53:11.000Z","value":"6.2 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-6b7a7fb3a4ca2308bf971e4253d7a4cd"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-6b7a7fb3a4ca2308bf971e4253d7a4cd","url":"https://github.com/advisories/GHSA-6hxr-mr5r-9836","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-6hxr-mr5r-9836","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:58:49.818Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6b7a7fb3a4ca2308bf971e4253d7a4cd"],"technology":"re2","known_exclusions":[],"conditions_summary":"## Summary\n\n`String.prototype.match` with a **global** `RE2` collects all matches in a native loop that advances the cursor by the match length. A **zero-width (empty) match** has length 0, so the cursor never advances: the same empty match is found forever and appended to an ever-growing native vector. Any pattern that can match the empty string (`a*`, `b?`, `x{0,3}`, `(a)|`, `(?:)`, …) therefore causes an infinite loop with unbounded memory growth. The call is synchronous native code, so it blocks the entire event loop and cannot be interrupted by `try/catch`, `AbortController`, `--max-old-space-size`, or timers — the process must be killed externally. This diverges from the built-in engine, where `'xxxx'.match(/a*/g)` returns a finite array.\n\n## Root cause\n\n```cpp\n// lib/match.cc:44 — global branch of WrappedRE2::Match\nwhile (re2->regexp.Match(str, byteIndex, str.size, anchor, &match, 1)) {\n    groups.push_back(match);\n    byteIndex = match.data() - str.data + match.size();   // += 0 for a zero-width match\n}\n```\n\nWhen `match.size() == 0`, `byteIndex` is unchanged, so the next iteration matches the same empty position again; `groups` grows without bound. The other iteration paths","public_affected_ranges":["<= 1.25.1"]}],"null_published_at":"2026-11-04T10:04:27.936Z","source_updated_at":"2026-07-31T16:53:11.000Z","source_disclosed_at":"2026-07-31T16:53:08.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T09:58:49.818Z"}],"next_cursor":null,"snapshot_revision":"42594"}