Node.js Bindings for Google's RE2 Regular Expression Engine Vulnerability
CVE-2026-68499
6.2MEDIUM
What is CVE-2026-68499?
The Node.js bindings for Google's RE2 regular expression engine are susceptible to a critical implementation flaw. Prior to version 1.25.2, the String.prototype.match function, when using a global RE2 pattern that matches the empty string, fails to advance its native matching cursor. This oversight can cause an infinite loop, leading to significant unbounded memory growth, blocking the event loop and potentially exhausting system memory. The issue has been addressed in version 1.25.2.
Affected Version(s)
node-re2 < 1.25.2
