{"id":"CVE-2026-71498","published":"2026-08-06T21:26:00Z","modified":"2026-08-07T17:08:50Z","title":"node-re2: Out-of-bounds heap read in `replace`/`split` via a `Buffer` ending in a truncated multi-byte UTF-8 character…","vendor":"uhop","product":"node-re2","tier":"tail","description":{"text":"node-re2 provides RE2 regular expression bindings for Node.js. Prior to version 1.26.1, passing a Buffer whose final bytes form a truncated (incomplete) multi-byte UTF-8 sequence could cause the native binding to read past the end of the allocated buffer while attempting to decode the final, incomplete code point. This could result in an out-of-bounds read and potential disclosure of adjacent memory contents. This issue is fixed in version 1.26.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07017,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/uhop/node-re2/issues/272","tags":["x_refsource_MISC"]},{"url":"https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4","tags":["x_refsource_MISC"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.4},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"uhop","affectedVersions":[{"vendor":"uhop","product":"node-re2","versions":["< 1.26.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T14:57:08.840534Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"re2","vulnerableRanges":["<1.26.1"],"patched":["1.26.1"],"from":["GHSA-j4r3-hg7j-8chg"],"provenance":"source"}],"summary":{"text":"The node-re2 package, which provides RE2 regular expression bindings for Node.js, contains an out-of-bounds heap read in its replace and split functions when given a Buffer whose final bytes form a truncated multi-byte UTF-8 sequence. An attacker who can get such a Buffer processed by the affected native binding, with no authentication or user interaction required, can cause a read past the end of the allocated buffer that may disclose adjacent memory contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:35Z"},"euvd":{"id":"EUVD-2026-54165","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-uhop-node-re2-cve-2026-67550","parents":[{"from":"CVE-2026-68499","to":"CVE-2026-71498","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:re2","fromFixed":"1.25.2","toFixed":"1.26.1","daysApart":7},{"kind":"same-code","provenance":"machine","files":["lib/addon.cc"],"commits":["https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4"],"basis":"shared function","functions":["prepareArgument"]},{"kind":"similar","provenance":"machine","score":0.43,"basis":"same product + description similarity"}]},{"from":"CVE-2026-67550","to":"CVE-2026-71498","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/addon.cc"],"commits":["https://github.com/uhop/node-re2/commit/56293de4fc0914d7bc35f92e98de25b0d9bb417d","https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4"],"basis":"shared function","functions":["prepareArgument"]},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-71430","published":"2026-08-06","fixed":"1.25.1","kev":false},{"cve":"CVE-2026-67550","published":"2026-07-30","fixed":"1.25.2","kev":false},{"cve":"CVE-2026-68499","published":"2026-07-30","fixed":"1.25.2","kev":false},{"cve":"CVE-2026-71498","published":"2026-08-06","fixed":"1.26.1","kev":false}],"package":"npm:re2"}}