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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-125
- **Aliases:** GHSA-ff84-5f28-78qj
- **Published:** 2026-07-30T19:59:55.916Z
- **Modified:** 2026-10-23T22:10:00.160Z

## Who should check

- Projects that depend on npm package re2 (\< 1.25.2)
- Anyone running uhop node-re2 \< 1.25.2

## 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 and fixed versions

- npm `re2`: affected \< 1.25.2; fixed 1.25.2 (osv)
- uhop node-re2: \< 1.25.2 (cvelist)

## Mitigation

- Upgrade re2 to 1.25.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-67550. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-67550.md
Affected: re2 < 1.25.2
Fixed in: 1.25.2

Steps:
1. Search this machine and project for re2 (npm), uhop node-re2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-67550 being exploited?

There is no confirmed exploitation: CVE-2026-67550 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-67550?

Medium: CVSS 5.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-67550?

re2 \< 1.25.2.

### Is there a fix for CVE-2026-67550?

Yes. Fixed in 1.25.2. Upgrade re2 to 1.25.2 or later.

### How do I check if I'm affected by CVE-2026-67550?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-67550>
- patch: <https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d>
- other: <https://github.com/uhop/node-re2/releases/tag/1.25.2>
- other: <https://github.com/uhop/node-re2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-67550>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ff84-5f28-78qj> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-67550> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-67550>
