CVE-2026-58064: CWE-770 Allocation of Resources Without Limits or Throttling in Apache Software Foundation Apache bRPC
Description
CVE-2026-58064 is a vulnerability in Apache bRPC's Redis protocol implementation where inline command parsing allocates and copies the entire connection buffer before a complete CRLF-terminated command is received. This allows a remote attacker to send long inline inputs without a terminating CRLF, causing increased memory usage and CPU overhead, potentially leading to denial of service. The issue arises because the redis_max_allocation_size limit was not effectively applied to inline commands before allocation. The vulnerability affects Apache bRPC versions prior to 1.18.0. The issue is fixed in version 1.18.0 by applying the allocation limit to inline commands and rejecting lines exceeding this limit.
Affected software
Apache Software Foundation
Apache bRPC
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Redis protocol implementation in Apache bRPC improperly handles inline command parsing by allocating memory based on the current input buffer size and copying the entire buffer before detecting the command boundary marked by CRLF. While the redis_max_allocation_size limit was enforced for RESP bulk strings and arrays, it was not applied to inline command parsing, allowing an attacker to send excessively long inline commands without CRLF termination. This results in unbounded memory allocation and CPU overhead, which can be exploited by a remote attacker with access to the Redis-protocol bRPC service to cause denial of service. The vulnerability affects Apache bRPC versions >=0 and <1.18.0. The fix in version 1.18.0 enforces redis_max_allocation_size on inline commands and rejects commands exceeding this limit by scanning for CRLF before memory allocation.
Potential Impact
A remote attacker with access to a Redis-protocol enabled Apache bRPC server can exploit this vulnerability by sending long inline commands without CRLF termination, causing excessive memory allocation and CPU usage. This can lead to denial of service conditions on the affected server due to resource exhaustion.
Mitigation Recommendations
Upgrade Apache bRPC to version 1.18.0 or later, which includes the fix for this vulnerability. The fix enforces the redis_max_allocation_size limit on inline Redis commands and rejects commands exceeding this limit before allocating memory. Applying the patch from PR https://github.com/apache/brpc/pull/3363 also addresses the issue. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-28T05:52:16.170Z
- State
- PUBLISHED
Threat ID: 6ad8a6b32cdf04f656e81310
Added to database: 10/21/2026, 11:49:07 UTC
Last enriched: 10/21/2026, 12:04:24 UTC
Last updated: 10/21/2026, 13:40:20 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.