CVE-2026-71430

Medium

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.

SeverityMedium
CVSS6.2
Exploit probability—
ProductRe2
PublishedAug 6, 2026
First seenAug 6, 2026
Weakness typeCWE-617CWE-617

How to fix

Update
  • re21.25.1 or later

Affected products

ProductAffected versionsFixed in
re2npmv < 1.25.11.25.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-71430 · Re2 · Dark Radar