Vulnerability · Published Jul 30, 2026 · Assigned by GitHub_M

CVE-2026-67550re2: Out-of-bounds heap read in `exec`/`test`/`match` via attacker-influenced `lastIndex` on a non-ASCII subject → uncatchable process crash (DoS)

Medium 5.7

In plain English

A medium-severity out-of-bounds read in node-re2 from uhop. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.7Medium
Exploit odds (30 days)0.2%top 94.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-re2no fix listedDEBIAN-CVE-2026-67550
Debian:13node-re2no fix listedDEBIAN-CVE-2026-67550
Debian:14node-re21.26.1+~cs1.7.0-1DEBIAN-CVE-2026-67550
Ubuntu:22.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-67550
Ubuntu:24.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-67550
Ubuntu:26.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-67550
Ubuntu:26.10node-re2no fix listedUBUNTU-CVE-2026-67550
npmre21.25.2GHSA-ff84-5f28-78qj

Affected products (as reported)

VendorProductVersions
uhop node-re2 < 1.25.2

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

References