CVE-2026-67550

Medium

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.

SeverityMedium
CVSS5.7
Exploit probability5. percentile0.2%
ProductRe2
PublishedJul 30, 2026
First seenJul 30, 2026

How to fix

Update
  • re21.25.2 or later

Affected products

ProductAffected versionsFixed in
re2npmv < 1.25.21.25.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-67550 · Re2 · Dark Radar