CVE-2026-71430

NameCVE-2026-71430
Descriptionnode-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-re2 (PTS)bullseye1.15.9+~cs1.8.18-1vulnerable
bullseye (security)1.15.9+~cs1.8.18-1+deb11u1vulnerable
bookworm1.18.0+~cs2.13.8-1vulnerable
trixie1.21.4+~cs2.13.13-2vulnerable
forky, sid1.25.0+~cs1.6.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-re2source(unstable)(unfixed)

Notes

https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp

Search for package or bug name: Reporting problems