CVE catalog

CVE-2026-71430

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 c

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-re2sid1.27.0+~cs1.8.1-1fixed
Debiannode-re2forky1.26.1+~cs1.8.0-1fixed
Debiannode-re2trixie1.21.4+~cs2.13.13-2vulnerable
Debiannode-re2bookworm1.18.0+~cs2.13.8-1vulnerable
Npmre2Not reported1.25.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-re2sourcesid1.26.1+~cs1.7.0-1not yet assignedNot reported[1143901]
Debiannode-re2sourceforky1.26.1+~cs1.7.0-1not yet assignedNot reported[1143901]
Debiannode-re2sourcetrixie(unfixed)not yet assignedNot reported[1143901]
Debiannode-re2sourcebookworm(unfixed)not yet assignedNot reported[1143901]
Npmre2npmNot reported1.25.1Not reportedNot reportedNot reported

[Debian bug #1143901]

Notes

[trixie] node-re2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-re2]Affected
    Details (2)
    • 1.18.0+~cs2.13.8-1 · amd64 · bookworm

      Affected

      nvd · node-re2 · debian · bookworm; nvd · node-re2 · debian · 12

    • 1.18.0+~cs2.13.8-1 · arm64 · bookworm

      Affected

      nvd · node-re2 · debian · bookworm; nvd · node-re2 · debian · 12

[Debian 13 (Trixie)]

  • [node-re2]Affected

    Source package: [node-re2]

    Details (2)
    • 1.21.4+~cs2.13.13-2+b2 · amd64 · trixie

      Affected

      nvd · node-re2 · debian · 13

    • 1.21.4+~cs2.13.13-2+b2 · arm64 · trixie

      Affected

      nvd · node-re2 · debian · 13

Observed:

References