7.5high
Apache bRPC: Stack Exhaustion via Unbounded Recursion in Redis Reply Parser
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
Uncontrolled recursion in the Redis reply parser in Apache bRPC < 1.18.0 allows a remote Redis server peer to crash a bRPC Redis client process by returning a deeply nested RESP array reply. The parser recursed once for each nested array level without enforcing a depth limit. The fix adds a configurable Redis reply depth limit with default value 128 and rejects replies exceeding that limit. Affected Scenarios: Applications using bRPC as a Redis client with ChannelOptions.protocol="redis" and receiving replies from an untrusted or faulty Redis server peer. How to Fix: 1. Upgrade Apache bRPC to 1.18.0. 2. Apply the patch from PR https://github.com/apache/brpc/pull/3344 . Note: After applying the fix, Redis replies with array nesting deeper than redis_max_reply_depth are rejected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apache/brpc | before 1.18.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Uncontrolled recursion in the Redis reply parser in Apache bRPC < 1.18.0 allows a remote Redis server peer to crash a bRPC Redis client process by returning a deeply nested RESP array reply. The parser recursed once for each nested array level without enforcing a depth limit. The fix adds a configurable Redis reply depth limit with default value 128 and rejects replies exceeding that limit. Affected Scenarios: Applications using bRPC as a Redis client with ChannelOptions.protocol="redis" and receiving replies from an untrusted or faulty Redis server peer. How to Fix: 1. Upgrade Apache bRPC to 1.18.0. 2. Apply the patch from PR https://github.com/apache/brpc/pull/3344 . Note: After applying the fix, Redis replies with array nesting deeper than redis_max_reply_depth are rejected.
NVD (es)
Recursión no controlada en el analizador de respuestas de Redis en Apache bRPC versiones anteriores a 1.18.0 permite que un servidor Redis remoto haga que el proceso cliente bRPC Redis se bloquee al devolver una respuesta de matriz RESP profundamente anidada. El analizador recursiona una vez por cada nivel de matriz anidada sin imponer un límite de profundidad. La corrección añade un límite configurable de profundidad de respuesta Redis con valor predeterminado 128 y rechaza respuestas que superen ese límite.\n\nEscenarios afectados:\nAplicaciones que usan bRPC como cliente Redis con ChannelOptions.protocol=\“redis\” y reciben respuestas de un servidor Redis no confiable o defectuoso.\n\nCómo corregir:\n1. Actualizar Apache bRPC a la versión 1.18.0. \n2. Aplicar el parche del PR https://github.com/apache/brpc/pull/3344.\n\nNota:\nDespués de aplicar la corrección, las respuestas Redis con anidamiento de matrices superior a redis_max_reply_depth son rechazadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54426 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-54426 changed 2026-10-30 | Public domain |