CVE-2026-71430uhop node-re2
Medium 6.2
Follow: this CVE · uhop · uhop node-re2 We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 6.2
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 6, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-617
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for node-re2.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | re2 |
< 1.25.1 |
1.25.1 |
npm install re2@1.25.1 |
Per OSV / GitHub Advisories (GHSA-8hcv-x26h-mcgp). Check the version in your lockfile before upgrading.
Affected products
- uhop · node-re2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.