{"id":"CVE-2026-68499","title":"re2 provides Node.js bindings for Google's RE2 regular expression engine","summary":"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 …","severity":"medium","cvss":6.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-835"],"vendor":"re2","product":"re2","affected":["re2 <= 1.25.1"],"patched":["re2 1.25.2"],"published":"2026-07-30","updated":"2026-09-10","sourceUpdated":"2026-09-10T20:30:11.423","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-68499","references":[{"url":"https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/releases/tag/1.25.2","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-6hxr-mr5r-9836","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68499"},{"url":"https://github.com/advisories/GHSA-6hxr-mr5r-9836"}],"tags":["nvd","ghsa","npm"],"epss":0.00188,"epssPercentile":0.08703,"aliases":["GHSA-6hxr-mr5r-9836"],"ecosystem":"npm","ingestedAt":"2026-07-31T16:59:59.774Z","slug":"CVE-2026-68499","body":"## Overview\n\nre2 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-68499)\n\nAffected packages:\n\n- `re2 <= 1.25.1`\n\nPatched in:\n\n- `re2 1.25.2`\n\nSource: https://github.com/advisories/GHSA-6hxr-mr5r-9836","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":34.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}