CVE-2026-67550
Received Received - Intake

Out-of-Bounds Read in re2 Node.js Bindings

Vulnerability report for CVE-2026-67550, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-30

Last updated on: 2026-07-30

Assigner: GitHub, Inc.

Description

re2 provides Node.js bindings for Google's RE2 regular expression engine. Prior to 1.25.2, re2 validates lastIndex against the UTF-8 byte length of a subject but uses it as a UTF-16 code-unit offset in exec, test, match, replace, and split, allowing an attacker-influenced lastIndex on a non-ASCII subject to trigger an out-of-bounds heap read and an uncatchable process crash, with limited heap information disclosure in some cases. This issue is fixed in 1.25.2.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-30
Last Modified
2026-07-30
Generated
2026-07-31
AI Q&A
2026-07-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the re2 library which provides Node.js bindings for Google's RE2 regular expression engine. The issue occurs because the library validates the lastIndex property against the UTF-8 byte length of a subject string but then uses it as a UTF-16 code-unit offset when performing operations like exec, test, match, replace, and split. This mismatch can lead to an out-of-bounds heap read and cause an uncatchable process crash. The vulnerability is fixed in version 1.25.2.

Detection Guidance

This vulnerability requires checking the version of the re2 library in use. Run 'npm list re2' or 'npm list -g re2' to check the installed version. If it is below 1.25.2, the system is vulnerable.

Impact Analysis

An attacker could exploit this vulnerability by influencing the lastIndex value on a non-ASCII subject string, potentially causing a crash of the Node.js process. In some cases, this might also lead to limited disclosure of heap information. The impact is primarily on the stability and availability of applications using vulnerable versions of the re2 library.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by causing uncatchable process crashes, leading to service disruptions and potential data processing interruptions. The out-of-bounds heap read may expose limited heap information, which could risk unauthorized data access if exploited.

Mitigation Strategies

Update the re2 library to version 1.25.2 or later using 'npm update re2' or by specifying the version in your package.json. Restart any affected applications after updating.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-67550. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart