CVE-2026-79704
Apache bRPC: Out-of-bounds Read in Multi-stream RPC Response Handling
Description
An out-of-bounds read vulnerability exists in the streaming RPC client of Apache bRPC (versions 1.11.0 through 1.17.0) on all platforms. A client that creates multiple streams in a single RPC expects the server response to carry exactly one extra_stream_id for every additional stream. The response handling path indexed the returned identifiers using the locally created stream count without first validating the size of the returned list, so a malicious or compromised server (or an on-path attacker) can trigger an out-of-bounds read in the client by returning a malformed StreamSettings response with fewer extra_stream_ids than expected. This may crash the client process (denial of service) or leak unintended memory contents into subsequent stream handling; surplus identifiers have no valid client-stream mapping and are processed inconsistently. Root Cause: Since bRPC 1.11.0, a client can create multiple streams in one RPC via batch StreamCreate. The expected behavior is that the server response must return exactly (N-1) extra_stream_ids, where N is the number of locally created streams. In Controller::HandleStreamConnection, the response path reads extra_stream_ids[i-1] for each additional local stream without first comparing the returned list size with (N-1). If the server returns fewer identifiers, the read runs past the end of the returned list (out-of-bounds read); if it returns more, the surplus identifiers have no corresponding client-side stream. Affected Scenarios: A bRPC client using multi-stream RPC (creating more than one stream in a single RPC) that connects to an untrusted, malicious, or compromised server or to a server reached through an untrusted network path. The server sends a malformed StreamSettings response to trigger the issue. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3485 Note: The fix makes the client reject responses whose extra_stream_ids count does not exactly match the number of additional client streams. Such mismatched responses now fail the RPC with ERESPONSE and go through the existing stream cleanup path, instead of being partially processed.
INFO
Published Date :
Oct. 21, 2026, 12:17 p.m.
Last Modified :
Oct. 30, 2026, 5:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade Apache bRPC to version 1.18.0.
- Apply the provided patch to the client.
- Validate server responses for extra_stream_ids count.
- Reject malformed responses with ERESPONSE error.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-79704.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-79704 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-79704
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-79704 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-79704 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added SSVC {'id': 'CVE-2026-79704', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-30T17:03:31.154852Z'} -
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: bRPC de Apache, Description: Existe una vulnerabilidad de lectura fuera de los límites en el cliente RPC de transmisión de Apache bRPC (desde la versión 1.11.0 hasta la versión 1.17.0 inclusive) en todas las plataformas. Un cliente que crea múltiples flujos en una única llamada RPC espera que la respuesta del servidor incluya exactamente un extra_stream_id por cada flujo adicional. La ruta de manejo de la respuesta indexa los identificadores devueltos usando el recuento de flujos creados localmente sin validar primero el tamaño de la lista devuelta, de modo que un servidor malicioso o comprometido (o un atacante en la ruta) puede provocar una lectura fuera de los límites en el cliente al devolver una respuesta StreamSettings malformada con menos extra_stream_ids de los esperados. Esto puede bloquear el proceso del cliente (denegación de servicio) o filtrar contenido de memoria no intencionado en el manejo de flujos subsiguientes; los identificadores sobrantes no tienen una asignación válida a un flujo del cliente y se procesan de forma inconsistente.\n\nCausa raíz:\nDesde bRPC 1.11.0, un cliente puede crear múltiples flujos en una única RPC mediante StreamCreate por lotes. El comportamiento esperado es que la respuesta del servidor devuelva exactamente (N?1) extra_stream_ids, donde N es el número de flujos creados localmente. En Controller::HandleStreamConnection, la ruta de respuesta lee extra_stream_ids[i?1] para cada flujo local adicional sin comparar primero el tamaño de la lista devuelta con (N?1). Si el servidor devuelve menos identificadores, la lectura avanza más allá del final de la lista (lectura fuera de los límites); si devuelve más, los identificadores sobrantes no tienen un flujo correspondiente del lado del cliente.\n\nEscenarios afectados:\nUn cliente bRPC que utiliza RPC de multifujo (creando más de un flujo en una única RPC) y se conecta a un servidor no confiable, malicioso o comprometido, o a un servidor al que se accede a través de una ruta de red no confiable. El servidor envía una respuesta StreamSettings malformada para desencadenar el problema.\n\nCómo corregir:\n(Elija una de las siguientes opciones)\n1. Actualizar bRPC a la versión 1.18.0, que corrige este problema.\n2. Aplicar este parche: https://github.com/apache/brpc/pull/3485\n\nNota:\nLa corrección hace que el cliente rechace respuestas cuyo recuento de extra_stream_ids no coincida exactamente con el número de flujos adicionales del cliente. Estas respuestas incompatibles ahora fallan la RPC con ERESPONSE y siguen la ruta de limpieza de flujos existente, en lugar de procesarse parcialmente. -
New CVE Received by [email protected]
Oct. 21, 2026
Action Type Old Value New Value Added Description An out-of-bounds read vulnerability exists in the streaming RPC client of Apache bRPC (versions 1.11.0 through 1.17.0) on all platforms. A client that creates multiple streams in a single RPC expects the server response to carry exactly one extra_stream_id for every additional stream. The response handling path indexed the returned identifiers using the locally created stream count without first validating the size of the returned list, so a malicious or compromised server (or an on-path attacker) can trigger an out-of-bounds read in the client by returning a malformed StreamSettings response with fewer extra_stream_ids than expected. This may crash the client process (denial of service) or leak unintended memory contents into subsequent stream handling; surplus identifiers have no valid client-stream mapping and are processed inconsistently. Root Cause: Since bRPC 1.11.0, a client can create multiple streams in one RPC via batch StreamCreate. The expected behavior is that the server response must return exactly (N-1) extra_stream_ids, where N is the number of locally created streams. In Controller::HandleStreamConnection, the response path reads extra_stream_ids[i-1] for each additional local stream without first comparing the returned list size with (N-1). If the server returns fewer identifiers, the read runs past the end of the returned list (out-of-bounds read); if it returns more, the surplus identifiers have no corresponding client-side stream. Affected Scenarios: A bRPC client using multi-stream RPC (creating more than one stream in a single RPC) that connects to an untrusted, malicious, or compromised server or to a server reached through an untrusted network path. The server sends a malformed StreamSettings response to trigger the issue. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3485 Note: The fix makes the client reject responses whose extra_stream_ids count does not exactly match the number of additional client streams. Such mismatched responses now fail the RPC with ERESPONSE and go through the existing stream cleanup path, instead of being partially processed. Added CWE CWE-125 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/79xxx/CVE-2026-79704.json">CVE-2026-79704</a> Added Reference https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb