Reachable assertion in uhop node-re2
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-617.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| uhop | node-re2 | before 1.25.1 | 1.25.1 | Patch available | CNA |
| — | re2 (npm) | before 1.25.1 | 1.25.1 | Patch available | GHSA-8hcv-x26h-mcgp |
- node-re2 Vendoruhop Affected before 1.25.1 Fixed in 1.25.1 Patch available CNA
- re2 (npm) Vendor— Affected before 1.25.1 Fixed in 1.25.1 Patch available GHSA-8hcv-x26h-mcgp
Remediation
- Fix · CNA node-re2 (uhop) Fixed in 1.25.1
- Fix · GHSA-8hcv-x26h-mcgp re2 (npm) Fixed in 1.25.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Enterprise Linux AI (RHEL AI) 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71430
- 2026-10-03 Alias added: GHSA-8hcv-x26h-mcgp
References
More uhop vulnerabilities
- TI-2026-78913 Quadratic CPU use in stream-json FlexAssembler allows denial of service CVSS 3.1MEDIUM 6.2
- TI-2026-65777 stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk CVSS 3.1MEDIUM 6.2
- TI-2026-50051 stream-json: pick/ignore/filter/replace filters are O(depth²) on nested input — small… CVSS 3.1MEDIUM 6.2
- TI-2026-48273 Infinite loop in uhop node-re2 CVSS 3.1MEDIUM 6.2
- TI-2026-47734 Out-of-bounds read in uhop node-re2 CVSS 3.1MEDIUM 5.7
- TI-2026-65778 stream-json: Prototype pollution: Assembler writes this.current[this.key] on plain objects CVSS 3.1MEDIUM 5.1
Sources
- CVE-2026-71430 · CVE Program
- CVE-2026-71430 · NVD
- FIRST EPSS
- GHSA-8hcv-x26h-mcgp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-71430 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences