Vulnerability · Published Aug 6, 2026 · Assigned by GitHub_M

CVE-2026-71498node-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

Medium 5.1

In plain English

A medium-severity out-of-bounds read in node-re2 from uhop. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.2%top 93.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-re2no fix listedDEBIAN-CVE-2026-71498
Debian:13node-re2no fix listedDEBIAN-CVE-2026-71498
Debian:14node-re21.26.1+~cs1.7.0-1DEBIAN-CVE-2026-71498
Ubuntu:22.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-71498
Ubuntu:24.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-71498
Ubuntu:26.04:LTSnode-re2no fix listedUBUNTU-CVE-2026-71498
Ubuntu:26.10node-re2no fix listedUBUNTU-CVE-2026-71498
npmre21.26.1GHSA-j4r3-hg7j-8chg

Affected products (as reported)

VendorProductVersions
uhop node-re2 < 1.26.1

Weakness: CWE-125 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References