CVE-2026-67550re2: Out-of-bounds heap read in `exec`/`test`/`match` via attacker-influenced…
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-re2 | Fix pending | UBUNTU-CVE-2026-67550 | |
| Ubuntu 26.04 | node-re2 | Under investigation | UBUNTU-CVE-2026-67550 | |
| Ubuntu 24.04 | node-re2 | Under investigation | UBUNTU-CVE-2026-67550 | |
| Ubuntu 22.04 | node-re2 | Under investigation | UBUNTU-CVE-2026-67550 | |
| Ubuntu 20.04 | node-re2 | Fix pending | UBUNTU-CVE-2026-67550 | |
| Debian 14 | node-re2 | Fixed | 1.26.1+~cs1.7.0-1 | DEBIAN-CVE-2026-67550 |
| Debian 13 | node-re2 | Fix pending | DEBIAN-CVE-2026-67550 | |
| Debian 12 | node-re2 | Fix pending | DEBIAN-CVE-2026-67550 | |
| npm library | re2 | Fixed | 1.25.2 | GHSA-ff84-5f28-78qj |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- uhop node-re2: affected: < 1.25.2
References
- https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj
- https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d
- https://github.com/uhop/node-re2/releases/tag/1.25.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.