AI and data stack advisories

Severe, 6 weeks977Projects326

977 severe, 6 weeks · 326 projects

Apache bRPC: uncontrolled recursion

Apache Software Foundation

CVE-2026-54426 · Published Oct 21, 2026 · updated Oct 30, 2026

High7.5
Fix: upgrade to 1.18.0 or later

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 versions

PackageAffectedFixed in
Apache bRPC
Product
< 1.18.01.18.0
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity from
CISA (its enrichment of the CVE record)
Weakness
CWE-674

More Apache Software Foundation advisories

All Apache Software Foundation