What’s Vulnerable › Vulnerabilities
CVE-2026-71498: node-re2: Out-of-bounds heap read in `replace`/`split` via a `Buffer` ending in a truncated multi-byte UTF-8 character → adjacent heap memory disclosed to JavaScript
- Severity: medium (CVSS 5.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-10-24
- Weakness: CWE-125
Description
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.
Affected products
- uhop node-re2: before 1.26.1
References
- https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4
- https://github.com/uhop/node-re2/issues/272
- https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg
- https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg
Get alerted when CVE-2026-71498 or the next vulnerability affects your stack