Description
The Redis protocol implementation in Apache bRPC allowed inline command parsing to allocate and copy the full connection buffer before a complete CRLF-terminated command was available. A remote attacker with access to a Redis-protocol bRPC service could send long inline inputs without a terminating CRLF to increase memory usage and CPU copy overhead, potentially causing denial of service.


Root Cause:
The Redis inline command parser allocated memory based on the current input buffer size and copied the entire buffer before determining the current inline command boundary. The existing redis_max_allocation_size limit was applied to RESP bulk strings and arrays, but not effectively to the inline command path before allocation.


Affected Scenarios:
Use Apache bRPC server with Redis protocol enabled and reachable by untrusted clients.


How to Fix:
1. Upgrade Apache bRPC to version 1.18.0, which fixes this issue.
2. Apply the patch from PR https://github.com/apache/brpc/pull/3363 .


Note:
The fix applies redis_max_allocation_size to Redis inline command lines and scans for CRLF before allocating parser arena memory. Inline command lines exceeding this limit are rejected.
Published: 2026-10-21
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Apache bRPC server’s Redis protocol implementation incorrectly parses inline commands, allocating and copying the entire incoming buffer before validating the CRLF terminator. This permits a remote attacker to inject an excessively long inline command without a terminating CRLF, leading the service to consume large amounts of memory and CPU in copy operations. The result is a denial of service that can render the bRPC service unavailable to legitimate clients. The flaw is a classic Resource Exhaustion vulnerability (CWE-770).

Affected Systems

The flaw affects installations of Apache bRPC that expose the Redis-compatible protocol to untrusted clients. The problem exists in all versions prior to 1.18.0. The issue is mitigated by applying the 1.18.0 release or the patch from PR 3363, which enforces the redis_max_allocation_size limit on inline commands.

Risk and Exploitability

Based on the description, the attack vector is a remote client sending data directly to the Redis protocol endpoint. Because the vulnerability can be triggered without authentication, an attacker only needs network connectivity to the bRPC service. The exploit saturates memory and CPU to crash the service. The EPSS score is 0.00202 (<1%), and the vulnerability is not listed in the CISA KEV catalog, yet the lack of access controls and the high potential impact make it a significant risk for exposed deployments.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache bRPC to version 1.18.0 or later.
  • If upgrading is not immediately possible, apply the patch from PR 3363 to enforce redis_max_allocation_size for inline commands.
  • Restrict network access to the bRPC Redis protocol endpoint so that only trusted hosts can connect.

Generated by OpenCVE AI on October 30, 2026 at 16:27 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 12:00:00 +0000

Type Values Removed Values Added
Description The Redis protocol implementation in Apache bRPC allowed inline command parsing to allocate and copy the full connection buffer before a complete CRLF-terminated command was available. A remote attacker with access to a Redis-protocol bRPC service could send long inline inputs without a terminating CRLF to increase memory usage and CPU copy overhead, potentially causing denial of service. Root Cause: The Redis inline command parser allocated memory based on the current input buffer size and copied the entire buffer before determining the current inline command boundary. The existing redis_max_allocation_size limit was applied to RESP bulk strings and arrays, but not effectively to the inline command path before allocation. Affected Scenarios: Use Apache bRPC server with Redis protocol enabled and reachable by untrusted clients. How to Fix: 1. Upgrade Apache bRPC to version 1.18.0, which fixes this issue. 2. Apply the patch from PR https://github.com/apache/brpc/pull/3363 . Note: The fix applies redis_max_allocation_size to Redis inline command lines and scans for CRLF before allocating parser arena memory. Inline command lines exceeding this limit are rejected.
Title Apache bRPC: Denial of Service via Unbounded Redis Inline Command Allocation
Weaknesses CWE-770
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-30T14:05:38.961Z

Reserved: 2026-06-28T05:52:16.170Z

Link: CVE-2026-58064

cve-icon Vulnrichment

Updated: 2026-10-30T14:01:31.061Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-58064

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling