# 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 5.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-06T21:26:00.771Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-j4r3-hg7j-8chg
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- uhop node-re2: < 1.26.1
- re2 (npm): before 1.26.1

## Every score

- GitHub_M: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`

## References

- <https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg> (exploit, web)
- <https://github.com/uhop/node-re2/issues/272> (web)
- <https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4> (web)
- <https://github.com/uhop/node-re2> (package)

## Sources

- CVE List: [CVE-2026-71498](https://www.cve.org/CVERecord?id=CVE-2026-71498), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-j4r3-hg7j-8chg](https://github.com/advisories/GHSA-j4r3-hg7j-8chg), CC-BY-4.0, modified 2026-08-06
- NVD: [CVE-2026-71498](https://nvd.nist.gov/vuln/detail/CVE-2026-71498), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71498 · Whole record: https://cve.day/CVE-2026-71498.json · Rebuilt by cve.day 2026-11-25T22:59:31.815Z
