ADVISORIES

Vulnerability

CVE-2026-71430

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1npm 1

Advisories

  • DEBIAN-CVE-2026-71430

    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…

    CVE-2026-71430 Debian Updated 25 October 2026
  • GHSA-8hcv-x26h-mcgp

    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

    Moderate CVE-2026-71430 npm Updated 6 August 2026
  • UBUNTU-CVE-2026-71430

    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…

    CVE-2026-71430 Ubuntu Updated 17 October 2026

References