CVE-2026-71430 json
node-re2: String.prototype.replace(re2, template) aborts the Node process (uncatchable ToLocalChecked on empty MaybeLocal) when the result exceeds V8's max string length
published 4mo ago modified 18d ago also EUVD-2026-54159 , GHSA-8hcv-x26h-mcgp
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2026-71430 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-71430 updated cvss 7.5
node-re2: node-re2: Denial of Service due to excessive string length in replacements
-
Red Hat Enterprise Linux AI (RHEL AI) 3 re2 20211101-5.el9ainot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | re2 | <1.25.1 |
1.25.1 |
Affected products
- uhop node-re2
Classification
- Weakness
-
- CWE-617 Reachable Assertion
References
-
github.com
/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp
exploit, web, advisory
-
github.com
/uhop/node-re2
package
Sources
- CVE List CVE-2026-71430
- GitHub Advisory GHSA-8hcv-x26h-mcgp
- NVD CVE-2026-71430
- Maintainer advisory GHSA-8hcv-x26h-mcgp
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of uhop/node-re2 published their own advisory on GitHub. Reviewed sources take precedence over it.