# CVE-2026-54426: Apache bRPC: Stack Exhaustion via Unbounded Recursion in Redis Reply Parser

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-21T11:32:19.591Z
- Modified: 2026-10-30T14:17:06.137Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- apache/brpc: before 1.18.0

## References

- <https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-54426](https://www.cve.org/CVERecord?id=CVE-2026-54426), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-54426](https://nvd.nist.gov/vuln/detail/CVE-2026-54426), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-54426 · Whole record: https://cve.day/CVE-2026-54426.json · Rebuilt by cve.day 2026-11-25T22:59:46.578Z
