CVE-2026-67550 Details
Description
re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2 validates lastIndex against the UTF-8 byte length of a subject but uses it as a UTF-16 code-unit offset in exec, test, match, replace, and split, allowing an attacker-influenced lastIndex on a non-ASCII subject to trigger an out-of-bounds heap read and an uncatchable process crash, with limited heap information disclosure in some cases. This issue is fixed in 1.25.2.
A vulnerability in the Node.js bindings for Google's RE2 regular expression engine, in versions prior to 1.25.2, allows for an out-of-bounds heap read and an uncatchable process crash. This issue arises because the library validates the user-settable `lastIndex` against the UTF-8 byte length of a subject but uses it as a UTF-16 code-unit offset in various methods. This discrepancy can be exploited by setting `lastIndex` to an out-of-bounds value on a non-ASCII subject, leading to a heap read beyond the buffer's end, causing a process crash and, in some cases, disclosing limited heap information.
Users are advised to upgrade to re2 version 1.25.2 or later. If an upgrade is not possible, `lastIndex` should not be set from untrusted input or should be clamped to the string length of the subject before using the regular expression methods that could trigger the vulnerability.
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-125 | Out-of-bounds Read | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Jul 31, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |