Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp
- https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp
FAQ
What is CVE-2026-71430?
CVE-2026-71430 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 c...
How severe is CVE-2026-71430?
CVE-2026-71430 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-71430?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.