CVE-2026-71498
MEDIUM 5.1CVSS 3.1node-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
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.
- Published
- 6 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-125
- Also known as
- GHSA-j4r3-hg7j-8chg
- Sources
- NVDJSONOSV GHSA-j4r3-hg7j-8chgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | re2 | < 1.26.1 | 1.26.1 |
References
- https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4 · WEB
- https://github.com/uhop/node-re2/issues/272 · WEB
- https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg · WEB
- https://github.com/uhop/node-re2 · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 6 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Aug 2026)