๐Ÿ” CVE Alert

CVE-2026-71430

MEDIUM 6.2

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

CVSS Score
6.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-617
Vendor uhop
Product node-re2
Published Aug 6, 2026
Stay Ahead of the Next One

Get instant alerts for uhop node-re2

Be the first to know when new medium vulnerabilities affecting uhop node-re2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

uhop / node-re2
< 1.25.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp