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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg
X_Refsource_Misc x_refsource_misc
https://github.com/uhop/node-re2/issues/272
X_Refsource_Misc x_refsource_misc
https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4
Scores
CVSS v3
5.1
EPSS
0.0016
EPSS Percentile
5.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (2)
npm/re2
0 - 1.26.1npm
uhop/node-re2
< 1.26.1
Published
Aug 06, 2026
Tracked Since
Aug 07, 2026