{"id":"CVE-2026-67550","summary":"re2: Out-of-bounds heap read in `exec`/`test`/`match` via attacker-influenced `lastIndex` on a non-ASCII subject → uncatchable process crash (DoS)","details":"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.","aliases":["GHSA-ff84-5f28-78qj"],"modified":"2026-07-31T11:45:40.369004568Z","published":"2026-07-30T19:59:55.916Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67550.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-125"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67550.json"},{"type":"FIX","url":"https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d"},{"type":"WEB","url":"https://github.com/uhop/node-re2/releases/tag/1.25.2"},{"type":"ADVISORY","url":"https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67550"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/uhop/node-re2","events":[{"introduced":"0"},{"fixed":"264378394ec80e1cca2188ecb496829da2eec6c8"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.25.2"}],"source":"AFFECTED_FIELD"}}],"versions":["1.25.1","1.25.0","1.24.1","1.24.0","1.23.3","1.23.2","1.23.1","1.23.0","1.22.3","1.22.2","1.22.1","1.22.0","1.21.5","1.21.4","1.21.3","1.21.2","1.21.1","1.21.0","1.20.12","1.20.11","1.20.10","1.20.9","1.20.8","1.20.7","1.20.6","1.20.5","1.20.4","1.20.3","1.20.2","1.20.1","1.20.0","1.19.2","1.19.1","1.19.0","1.18.3","1.18.2","1.18.1","1.18.0","1.17.8","1.17.7","1.17.6","1.17.5","1.17.4","1.17.3","1.17.2","1.17.1","1.17.0","1.16.0","1.15.9","1.15.8","1.15.7","1.15.6","1.15.5","1.15.4","1.15.3","1.15.2","1.15.1","1.15.0","1.14.0","1.13.0","1.12.1","1.12.0","1.11.0","1.10.5","1.10.4","1.10.3","1.10.2","1.10.1","1.10.0","1.9.0","1.8.4","1.8.3","1.8.2","1.8.1","1.8.0","1.7.0","1.6.2","1.6.1","1.6.0","1.5.0","1.4.1","1.4.0","1.3.3","1.3.2","1.3.1","1.3.0","1.2.0","1.1.1","1.1.0","1.0.0","0.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67550.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"}]}