CVE-2026-54426 Apache bRPC: Stack Exhaustion via Unbounded Recursion in Redis Reply Parser
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-54426?
CVE-2026-54426 is a vulnerability in Apache bRPC, published on 21 Oct 2026.
Official 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.
Weakness: CWE-674
Which versions are affected by CVE-2026-54426?
How do I fix CVE-2026-54426?
No fix has been published for CVE-2026-54426 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-54426 being exploited?
There is no known exploitation of CVE-2026-54426 in the wild and no public exploit code.
Sources
Also known as GHSA-m7v5-m3p2-6w26.