CVE-2026-68499 Details
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.
A denial-of-service vulnerability has been identified in the re2 library, which provides Node.js bindings for Google's RE2 regular expression engine. This issue affects versions of re2 through 1.25.1. The vulnerability arises when the library's String.prototype.match method is used with a global RE2 pattern that can match empty strings. In such cases, the matching cursor fails to progress, leading to an infinite loop and unbounded growth of native memory. This memory exhaustion blocks the event loop, causing the application to become unresponsive and potentially exhausting the host's resources.
Users can upgrade to re2 version 1.25.2 or later, where this vulnerability has been fixed. If an upgrade is not possible, avoid using global RE2 patterns in String.prototype.match with attacker-influenced data. Instead, use matchAll or exec, or the non-global form of the pattern, both of which handle the cursor advancement correctly.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 31, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |