CVE-2026-71498
5.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| uhop | node-re2 | < 1.26.1 | affected |
Weaknesses
- CWE-125: CWE-125: Out-of-bounds Read
References
- https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg
- https://github.com/uhop/node-re2/issues/272
- https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.