---
id: CVE-2026-71498
title: node-re2 provides RE2 regular expression bindings for Node.js
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…
severity: medium
cvss: 5.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L'
cwe:
  - CWE-125
vendor: Red Hat
product: re2
affected:
  - re2 <= 1.26.0
patched:
  - re2 1.26.1
published: '2026-08-06'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:30:11.423'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71498'
references:
  - url: >-
      https://github.com/uhop/node-re2/commit/9d72042a6a0da5bc523908b04808ea0e23867cc4
    label: security-advisories@github.com
  - url: 'https://github.com/uhop/node-re2/issues/272'
    label: security-advisories@github.com
  - url: 'https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg'
    label: security-advisories@github.com
  - url: 'https://github.com/uhop/node-re2/security/advisories/GHSA-j4r3-hg7j-8chg'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71498.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-71498'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2512269'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-71498'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71498'
  - url: 'https://github.com/advisories/GHSA-j4r3-hg7j-8chg'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - ghsa
  - npm
epss: 0.00174
epssPercentile: 0.05988
aliases:
  - GHSA-j4r3-hg7j-8chg
ecosystem: npm
ingestedAt: '2026-08-06T22:05:23.214Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-71498)

Affected packages:

- `re2 <= 1.26.0`

Patched in:

- `re2 1.26.1`

Source: https://github.com/advisories/GHSA-j4r3-hg7j-8chg

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71498.json)
