{"id":"UBUNTU-CVE-2026-67550","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.","modified":"2026-08-06T03:11:25.397670122Z","published":"2026-07-30T20:18:00Z","upstream":["CVE-2026-67550"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-67550"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-67550"},{"type":"REPORT","url":"https://github.com/uhop/node-re2/security/advisories/GHSA-ff84-5f28-78qj"}],"affected":[{"package":{"name":"node-re2","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-re2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.4-1","1.10.5-1","1.10.5-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-re2","binary_version":"1.10.5-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67550.json"}},{"package":{"name":"node-re2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-re2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.9+~cs1.8.18-1","1.15.9+~cs1.8.18-2","1.16.0+~cs2.12.8-2","1.17.1+~cs2.12.8-1","1.17.2+~cs2.13.8-1","1.17.3+~cs2.13.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-re2","binary_version":"1.17.3+~cs2.13.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67550.json"}},{"package":{"name":"node-re2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-re2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0+~cs2.13.8-1build1","1.19.2+~cs2.13.13-1build1","1.20.10+~cs2.13.13-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-re2","binary_version":"1.20.10+~cs2.13.13-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67550.json"}},{"package":{"name":"node-re2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-re2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1+~cs1.3.5-1","1.22.1+~cs1.3.5-1build2","1.22.1+~cs1.3.5-1build3","1.23.3+~cs1.3.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-re2","binary_version":"1.23.3+~cs1.3.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-67550.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}