CVE Catalog

CVE-2026-71430

MediumCVSS 6.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In node-re2 before version 1.25.1, the WrappedRE2::Replace function uses ToLocalChecked without checking if the result exceeds V8's maximum string length. With a global replace using an output amplifying template, the result can grow quadratically and once the limit is exceeded, it causes an uncatchable fatal process abort.

Risk Assessment

An attacker can cause a Node.js process crash (denial of service) via a crafted regular expression, potentially disrupting application availability.

Recommendation

Update node-re2 to version 1.25.1 or later, which includes the fix.

Other vulnerabilities in node-re2

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS