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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-30T19:59:55.916Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-ff84-5f28-78qj
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- uhop node-re2: < 1.25.2
- re2 (npm): before 1.25.2

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`

## References

- <https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj> (exploit, web)
- <https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d> (web)
- <https://github.com/uhop/node-re2/releases/tag/1.25.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67550> (advisory)
- <https://github.com/uhop/node-re2> (package)

## Sources

- CVE List: [CVE-2026-67550](https://www.cve.org/CVERecord?id=CVE-2026-67550), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-ff84-5f28-78qj](https://github.com/advisories/GHSA-ff84-5f28-78qj), CC-BY-4.0, modified 2026-07-31
- NVD: [CVE-2026-67550](https://nvd.nist.gov/vuln/detail/CVE-2026-67550), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-67550 · Whole record: https://cve.day/CVE-2026-67550.json · Rebuilt by cve.day 2026-11-25T22:59:30.660Z
