{"id":"CVE-2026-68499","state":"PUBLISHED","title":"re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)","description":"re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2's String.prototype.match implementation with a global RE2 pattern that can match the empty string fails to advance its native matching cursor in lib/match.cc, causing an infinite loop and unbounded native memory growth that blocks the event loop and can exhaust host memory. This issue is fixed in 1.25.2.","publishedAt":"2026-07-30T20:07:01.147Z","updatedAt":"2026-07-31T19:19:08.646Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["uhop node-re2"],"affected":[{"vendor":"uhop","product":"node-re2","versions":[{"version":"< 1.25.2","status":"affected"}]}],"references":["https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","https://github.com/uhop/node-re2/releases/tag/1.25.2"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68499.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68499","state":"PUBLISHED","datePublished":"2026-07-30T20:07:01.147Z","dateUpdated":"2026-07-31T19:19:08.646Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-30T16:19:08.081Z"},"containers":{"cna":{"title":"re2: Global `String.prototype.match` with an empty-matchable pattern never advances → infinite loop with unbounded native memory growth (DoS)","descriptions":[{"lang":"en","value":"re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2's String.prototype.match implementation with a global RE2 pattern that can match the empty string fails to advance its native matching cursor in lib/match.cc, causing an infinite loop and unbounded native memory growth that blocks the event loop and can exhaust host memory. This issue is fixed in 1.25.2."}],"affected":[{"vendor":"uhop","product":"node-re2","versions":[{"version":"< 1.25.2","status":"affected"}]}],"references":[{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","name":"https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","name":"https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","tags":["x_refsource_MISC"]},{"url":"https://github.com/uhop/node-re2/releases/tag/1.25.2","name":"https://github.com/uhop/node-re2/releases/tag/1.25.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","lang":"en","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-30T20:07:01.147Z"},"source":{"advisory":"GHSA-6hxr-mr5r-9836","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-31T19:18:39.668208Z","id":"CVE-2026-68499","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-31T19:19:08.646Z"}}]}}}