CVE-2026-71430 Details
Description
node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.25.1, the WrappedRE2::Replace function built its replacement result and passed it to V8 using ToLocalChecked without checking for the empty MaybeLocal that V8 returns when the resulting string or buffer exceeds V8's maximum string length. When a global replace uses an output amplifying replacement template, the result can grow quadratically with the input size, and once the result exceeds V8's maximum string length, the unchecked ToLocalChecked call causes a fatal, uncatchable process abort instead of a catchable exception. This issue is fixed in version 1.25.1.
A denial-of-service vulnerability has been identified in node-re2, a Node.js library providing RE2 regular expression bindings. This issue affects versions through 1.25.0. The vulnerability arises in the WrappedRE2::Replace function, which improperly handles replacement results by passing them to V8 using ToLocalChecked without verifying for an empty MaybeLocal. This oversight occurs when the resulting string or buffer exceeds V8's maximum string length. When a global replace operation utilizes an output-amplifying replacement template, the result can increase quadratically with the input size. Once the output surpasses V8's maximum string length, the unchecked ToLocalChecked call leads to a fatal, uncatchable process abort, instead of throwing a catchable exception. The vulnerability can be exploited remotely and without authentication, causing a native process abort that cannot be contained by try/catch blocks or domains, effectively crashing the entire Node process or worker.
Upgrade to node-re2 version 1.25.1 or later, which includes the necessary fix. The update can be applied using the npm package manager.
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 Aug 7, 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp | CISA-ADP | |
| https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-617 | Reachable Assertion | [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 |
|---|---|---|
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |