Skip to main content

CVE-2026-58064: CWE-770 Allocation of Resources Without Limits or Throttling in Apache Software Foundation Apache bRPC

0
High
VulnerabilityCVE-2026-58064cvecve-2026-58064cwe-770
Published: 10/21/2026 (10/21/2026, 11:41:13 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Affected versions
>=0 <1.18.0
GitHub Actionsmore threats →cve
apache/brpc
pkg:github/apache/brpc
Affected versions
>=0 <1.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/21/2026, 12:04:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses