CVE-2026-54425
JSON

7.5high

Apache bRPC: Stack Exhaustion via Recursive HPACK Dynamic Table Size Update Decoding

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.65% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache

Description

Uncontrolled recursion in the HTTP/2 HPACK decoder in Apache bRPC before 1.18.0 allows remote attackers to cause denial of service by sending a crafted HTTP/2 header block containing many consecutive Dynamic Table Size Update entries. Each update was decoded by recursively invoking the HPACK decoder, which could exhaust the thread stack before a header field or end of input was reached. Root Cause: The bRPC HPACK decoder recursively decoded the next entry after processing a Dynamic Table Size Update. The decoder did not bound the recursion depth, so a long sequence of update entries could consume excessive stack space. Affected Scenarios: Use bRPC with the built-in HTTP/2 implementation to accept HTTP/2 traffic from an untrusted network. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3343 Note: The fix changes HPACK Dynamic Table Size Update decoding to use iterative parsing instead of recursive parsing.

Affected

Product or packageVersionsReported by
apache/brpcbefore 1.18.0CVE List

Classification

CWE-674

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Uncontrolled recursion in the HTTP/2 HPACK decoder in Apache bRPC before 1.18.0 allows remote attackers to cause denial of service by sending a crafted HTTP/2 header block containing many consecutive Dynamic Table Size Update entries. Each update was decoded by recursively invoking the HPACK decoder, which could exhaust the thread stack before a header field or end of input was reached. Root Cause: The bRPC HPACK decoder recursively decoded the next entry after processing a Dynamic Table Size Update. The decoder did not bound the recursion depth, so a long sequence of update entries could consume excessive stack space. Affected Scenarios: Use bRPC with the built-in HTTP/2 implementation to accept HTTP/2 traffic from an untrusted network. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3343 Note: The fix changes HPACK Dynamic Table Size Update decoding to use iterative parsing instead of recursive parsing.

NVD (es)

Recursión no controlada en el decodificador HPACK de HTTP/2 de Apache bRPC antes de la versión 1.18.0 permite a atacantes remotos provocar una denegación de servicio enviando un bloque de encabezados HTTP/2 manipulado que contiene muchas entradas consecutivas de Actualización del tamaño de la tabla dinámica. Cada actualización se decodificaba invocando recursivamente el decodificador HPACK, lo que podía agotar la pila del hilo antes de que se alcanzara un campo de encabezado o el final de la entrada.\n\nCausa raíz:\nEl decodificador HPACK de bRPC decodificaba recursivamente la siguiente entrada después de procesar una Actualización del tamaño de la tabla dinámica. El decodificador no limitaba la profundidad de la recursión, de modo que una larga secuencia de entradas de actualización podía consumir un espacio de pila excesivo.\n\nEscenarios afectados:\nUso de bRPC con la implementación integrada de HTTP/2 para aceptar tráfico HTTP/2 desde una red no confiable.\n\nCómo solucionar:\n1. Actualice bRPC a la versión 1.18.0, que corrige este problema. \n2. Aplique este parche: https://github.com/apache/brpc/pull/3343\n\nNota:\nLa corrección modifica la decodificación de Actualizaciones del tamaño de la tabla dinámica de HPACK para usar un análisis iterativo en lugar de recursivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54425 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-54425 changed 2026-10-30Public domain