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.
Published: 2026-10-21
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Denial of Service via uncontrolled stack recursion
Action: Apply Patch
AI Analysis

Impact

Apache bRPC’s Redis reply parser recurses once for every nested array level without enforcing a depth limit. When a remote Redis server returns a deeply nested RESP array, the parser consumes stack space until the process crashes. This bug is identified as CWE‑674 and results in a denial‑of‑service condition that disables the bRPC client process.

Affected Systems

The vulnerability affects all versions of Apache bRPC older than 1.18.0 that are used as a Redis client (ChannelOptions.protocol="redis"). The affected vendor is Apache Software Foundation, and the product impacted is Apache bRPC.

Risk and Exploitability

The fault can be triggered by any Redis server that returns a deeply nested reply; thus a malicious or misbehaving server can cause stack exhaustion. EPSS score is < 1% and the CVSS score is 7.5, and the vulnerability is not listed in CISA’s KEV catalog. The risk is limited to environments where the bRPC client connects to an untrusted or compromised Redis peer and is best evaluated by the receiving application’s risk posture.

Generated by OpenCVE AI on October 30, 2026 at 16:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache bRPC to version 1.18.0 or later.
  • Apply the patch from PR 3344 (https://github.com/apache/brpc/pull/3344).
  • Configure a reply depth limit (set redis_max_reply_depth to 128) so that any reply exceeding the limit is rejected.

Generated by OpenCVE AI on October 30, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache brpc
Vendors & Products Apache
Apache brpc

Wed, 21 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title Apache bRPC: Stack Exhaustion via Unbounded Recursion in Redis Reply Parser
Weaknesses CWE-674
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-30T13:46:51.555Z

Reserved: 2026-06-14T07:05:33.297Z

Link: CVE-2026-54426

cve-icon Vulnrichment

Updated: 2026-10-30T13:46:31.102Z

cve-icon NVD

Status : Deferred

Published: 2026-10-21T12:17:21.180

Modified: 2026-10-30T14:17:06.137

Link: CVE-2026-54426

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T16:30:16Z

Weaknesses