{"id":"CVE-2026-71430","published":"2026-08-06T21:19:32Z","modified":"2026-08-07T17:13:08Z","title":"node-re2: String.prototype.replace(re2, template) aborts the Node process (uncatchable ToLocalChecked on empty…","vendor":"uhop","product":"node-re2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00157,"percentile":0.05004,"provenance":"source"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"references":[{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-8hcv-x26h-mcgp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":1.0},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"uhop","affectedVersions":[{"vendor":"uhop","product":"node-re2","versions":["< 1.25.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T17:10:43.842050Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"re2","vulnerableRanges":["<1.25.1"],"patched":["1.25.1"],"from":["GHSA-8hcv-x26h-mcgp"],"provenance":"source"}],"summary":{"text":"node-re2, the RE2 regular expression binding for Node.js, has a flaw in its WrappedRE2::Replace function, which passes results to V8 without checking for the empty result V8 returns when a string exceeds its maximum length. An attacker with local access who can supply input to a global replace using an output-amplifying template can trigger an uncatchable process abort, but only where the replacement result grows past V8's maximum string length.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:17Z"},"euvd":{"id":"EUVD-2026-54159","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-71430","published":"2026-08-06","fixed":"1.25.1","kev":false},{"cve":"CVE-2026-67550","published":"2026-07-30","fixed":"1.25.2","kev":false,"link":{"from":"CVE-2026-71430","to":"CVE-2026-67550","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:re2","fromFixed":"1.25.1","toFixed":"1.25.2","daysApart":-7}]}},{"cve":"CVE-2026-68499","published":"2026-07-30","fixed":"1.25.2","kev":false,"link":{"from":"CVE-2026-71430","to":"CVE-2026-68499","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:re2","fromFixed":"1.25.1","toFixed":"1.25.2","daysApart":-7}]}},{"cve":"CVE-2026-71498","published":"2026-08-06","fixed":"1.26.1","kev":false}],"package":"npm:re2"}}