CVE-2026-78058
Apache bRPC: Unbounded Resource Consumption and Crash in the HTTP/2 Receive Path
Description
Uncontrolled resource consumption in the HTTP/2 (h2) receive path of Apache bRPC (version < 1.18.0) on all platforms allows a remote unauthenticated attacker to crash the server or grow its memory without bound by sending crafted HTTP/2 frames. Root Cause: The h2 parser, enabled by default on every bRPC server port and used by h2/gRPC clients, trusts the peer to respect receive-side limits that bRPC advertises but never enforces: 1. SETTINGS_MAX_CONCURRENT_STREAMS defaulted to unlimited and was never checked on the server, letting a peer pin an unbounded number of pending streams per connection (~100x memory amplification). 2. SETTINGS_MAX_HEADER_LIST_SIZE defaulted to unlimited and was never enforced; 1-byte HPACK indexed references amplify a small HEADERS frame ~4000x into an unbounded decoded header list ("HPACK bomb"), and a never-completed HEADERS/CONTINUATION block accumulates memory without limit. 3. Control-frame acks (PING/SETTINGS acks, RST_STREAM, GOAWAY, WINDOW_UPDATE) unconditionally bypassed the -socket_max_unwritten_bytes write cap, so a PING flood combined with withheld TCP reads grew the connection buffer without the documented bound. 4. The HPACK dynamic table size update was validated against the protocol default (4096) instead of the advertised SETTINGS_HEADER_TABLE_SIZE, which together with the dynamic-table queue/accounting issue can desynchronize the decoder and dereference NULL (crash). Affected scenarios: Any bRPC server serving HTTP/h2/gRPC to an untrusted network, and any bRPC h2/gRPC client connecting to an untrusted backend. The h2 parser runs before any Authenticator check on the shared port. How to fix: Upgrade bRPC, or apply the patch in https://github.com/apache/brpc/pull/3474. Note: After applying the fix the following limits are enforced by default: - max_concurrent_streams: 1024 per connection (4294967295 restores unlimited). - max_header_list_size: 1 MiB decoded size per stream (4294967295 restores unlimited; -h2_client_max_header_list_size for clients). - h2 control-frame acks respect -socket_max_unwritten_bytes (-h2_ack_ignore_eovercrowded restores the old behavior). Requests exceeding these limits are rejected (RST_STREAM(REFUSED_STREAM) or a connection error).
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 or later.
- Apply the provided patch if upgrading is not possible.
- Configure stream and header size limits.
- Ensure control frames respect write limits.
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-78058.
| 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-78058 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-78058
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-78058 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-78058 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-78058', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-10-30T16:53:52.554221Z'} -
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: bRPC de Apache, Description: Consumo descontrolado de recursos en la ruta de recepción HTTP/2 (h2) de Apache bRPC (versiones anteriores a 1.18.0) en todas las plataformas permite a un atacante remoto no autenticado bloquear el servidor o aumentar su memoria sin límite mediante el envío de tramas HTTP/2 manipuladas.\n\nCausa raíz:\nEl analizador h2, habilitado por defecto en cada puerto de servidor bRPC y usado por clientes h2/gRPC, confía en que el par respete los límites de recepción que bRPC anuncia pero nunca los hace cumplir:\n1. SETTINGS_MAX_CONCURRENT_STREAMS se estableció por defecto como ilimitado y nunca se verificó en el servidor, permitiendo que un par fije un número ilimitado de flujos pendientes por conexión (~100× amplificación de memoria).\n2. SETTINGS_MAX_HEADER_LIST_SIZE se estableció por defecto como ilimitado y nunca se aplicó; referencias indexadas HPACK de 1?byte amplifican un pequeño frame HEADERS ~4000× en una lista de encabezados decodificada ilimitada (“bomba HPACK”), y un bloque HEADERS/CONTINUATION nunca completado acumula memoria sin límite.\n3. Los acuses de control de trama (PING/SETTINGS acks, RST_STREAM, GOAWAY, WINDOW_UPDATE) eluden incondicionalmente el límite de escritura -socket_max_unwritten_bytes, de modo que una inundación de PING combinada con lecturas TCP retenidas incrementa el búfer de la conexión sin el límite documentado.\n4. La actualización del tamaño de la tabla dinámica HPACK se validó contra el valor predeterminado del protocolo (4096) en lugar del SETTINGS_HEADER_TABLE_SIZE anunciado, lo que junto con el problema de cola/contabilidad de la tabla dinámica puede desincronizar el decodificador y desreferenciar NULL (causando un bloqueo).\n\nEscenarios afectados:\nCualquier servidor bRPC que ofrezca HTTP/h2/gRPC a una red no confiable, y cualquier cliente bRPC h2/gRPC que se conecte a un backend no confiable. El analizador h2 se ejecuta antes de cualquier verificación de Authenticator en el puerto compartido.\n\nCómo solucionar:\nActualice bRPC, o aplique el parche en https://github.com/apache/brpc/pull/3474.\n\nNota:\nDespués de aplicar la corrección, los siguientes límites se aplican por defecto:\n- max_concurrent_streams: 1024 por conexión (4294967295 restaura ilimitado).\n- max_header_list_size: 1?MiB de tamaño decodificado por flujo (4294967295 restaura ilimitado; -h2_client_max_header_list_size para clientes).\n- Los acuses de control de trama h2 respetan -socket_max_unwritten_bytes (-h2_ack_ignore_eovercrowded restaura el comportamiento anterior).\n\nLas solicitudes que superen estos límites son rechazadas (RST_STREAM(REFUSED_STREAM) o error de conexión). -
New CVE Received by [email protected]
Oct. 21, 2026
Action Type Old Value New Value Added Description Uncontrolled resource consumption in the HTTP/2 (h2) receive path of Apache bRPC (version < 1.18.0) on all platforms allows a remote unauthenticated attacker to crash the server or grow its memory without bound by sending crafted HTTP/2 frames. Root Cause: The h2 parser, enabled by default on every bRPC server port and used by h2/gRPC clients, trusts the peer to respect receive-side limits that bRPC advertises but never enforces: 1. SETTINGS_MAX_CONCURRENT_STREAMS defaulted to unlimited and was never checked on the server, letting a peer pin an unbounded number of pending streams per connection (~100x memory amplification). 2. SETTINGS_MAX_HEADER_LIST_SIZE defaulted to unlimited and was never enforced; 1-byte HPACK indexed references amplify a small HEADERS frame ~4000x into an unbounded decoded header list ("HPACK bomb"), and a never-completed HEADERS/CONTINUATION block accumulates memory without limit. 3. Control-frame acks (PING/SETTINGS acks, RST_STREAM, GOAWAY, WINDOW_UPDATE) unconditionally bypassed the -socket_max_unwritten_bytes write cap, so a PING flood combined with withheld TCP reads grew the connection buffer without the documented bound. 4. The HPACK dynamic table size update was validated against the protocol default (4096) instead of the advertised SETTINGS_HEADER_TABLE_SIZE, which together with the dynamic-table queue/accounting issue can desynchronize the decoder and dereference NULL (crash). Affected scenarios: Any bRPC server serving HTTP/h2/gRPC to an untrusted network, and any bRPC h2/gRPC client connecting to an untrusted backend. The h2 parser runs before any Authenticator check on the shared port. How to fix: Upgrade bRPC, or apply the patch in https://github.com/apache/brpc/pull/3474. Note: After applying the fix the following limits are enforced by default: - max_concurrent_streams: 1024 per connection (4294967295 restores unlimited). - max_header_list_size: 1 MiB decoded size per stream (4294967295 restores unlimited; -h2_client_max_header_list_size for clients). - h2 control-frame acks respect -socket_max_unwritten_bytes (-h2_ack_ignore_eovercrowded restores the old behavior). Requests exceeding these limits are rejected (RST_STREAM(REFUSED_STREAM) or a connection error). Added CWE CWE-476 Added CWE CWE-400 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/78xxx/CVE-2026-78058.json">CVE-2026-78058</a> Added Reference https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb