{"id":"CVE-2026-67550","title":"re2 provides Node.js bindings for Google's RE2 regular expression engine","summary":"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 spl…","severity":"medium","cvss":5.7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","cwe":["CWE-125"],"vendor":"re2","product":"re2","affected":["re2 <= 1.25.1"],"patched":["re2 1.25.2"],"published":"2026-07-30","updated":"2026-09-10","sourceUpdated":"2026-09-10T20:30:11.423","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-67550","references":[{"url":"https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/releases/tag/1.25.2","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj","label":"security-advisories@github.com"},{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67550"},{"url":"https://github.com/advisories/GHSA-ff84-5f28-78qj"}],"tags":["nvd","ghsa","npm"],"epss":0.0018,"epssPercentile":0.07794,"aliases":["GHSA-ff84-5f28-78qj"],"ecosystem":"npm","ingestedAt":"2026-07-31T16:59:59.747Z","slug":"CVE-2026-67550","body":"## Overview\n\nre2 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-67550)\n\nAffected packages:\n\n- `re2 <= 1.25.1`\n\nPatched in:\n\n- `re2 1.25.2`\n\nSource: https://github.com/advisories/GHSA-ff84-5f28-78qj","depth":"sunlit","depthScore":31,"depthScoreParts":{"impact":31.4,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}