CVE catalog

CVE-2026-67550

re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2 validates lastIndex against the UTF-8 byte length of a subject but uses it as a UTF-16 code-unit offset i

[CVE catalog]

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

re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2 validates lastIndex against the UTF-8 byte length of a subject but uses it as a UTF-16 code-unit offset in exec, test, match, replace, and split, allowing an attacker-influenced lastIndex on a non-ASCII subject to trigger an out-of-bounds heap read and an uncatchable process crash, with limited heap information disclosure in some cases. This issue is fixed in 1.25.2.

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.2fixed

Fixed-version evidence

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

[Debian bug #1143179]

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