CVE-2025-54472: Apache bRPC: Redis Parser Remote Denial of Service

Published Aug 12, 2025
·
Updated

Unlimited memory allocation in redis protocol parser in Apache bRPC (all versions < 1.14.1) on all platforms allows attackers to crash the service via network.

Root Cause: In the bRPC Redis protocol parser code, memory for arrays or strings of corresponding sizes is allocated based on the integers read from the network. If the integer read from the network is too large, it may cause a bad alloc error and lead to the program crashing. Attackers can exploit this feature by sending special data packets to the bRPC service to carry out a denial-of-service attack on it. The bRPC 1.14.0 version tried to fix this issue by limited the memory allocation size, however, the limitation checking code is not well implemented that may cause integer overflow and evade such limitation. So the 1.14.0 version is also vulnerable, although the integer range that affect version 1.14.0 is different from that affect version < 1.14.0.

Affected scenarios: Using bRPC as a Redis server to provide network services to untrusted clients, or using bRPC as a Redis client to call untrusted Redis services.

How to Fix: we provide two methods, you can choose one of them:

1. Upgrade bRPC to version 1.14.1. 2. Apply this patch ( https://github.com/apache/brpc/pull/3050 ) manually.

No matter you choose which method, you should note that the patch limits the maximum length of memory allocated for each time in the bRPC Redis parser. The default limit is 64M. If some of you redis request or response have a size larger than 64M, you might encounter error after upgrade. For such case, you can modify the gflag redismaxallocationsize to set a larger limit.

Affected Software

2 affected components
Apache bRPC<1.14.1
Apache bRPC<1.14.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.14.1
  2. Configuration

    For Redis requests or responses larger than 64M, increase the redis_max_allocation_size gflag above its default limit of 64M.

    bRPC Redis parser redis_max_allocation_size = larger than 64M

Event History

Aug 14, 2025
CVE Published
via MITRE·09:05 AM
Data Sourced
via MITRE·09:05 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 AM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
Severity
Aug 18, 2025
News Published
via The Hacker News·12:47 PM
Data Sourced
via NVD·06:35 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-54472?

CVE-2025-54472 is classified as a critical vulnerability due to its potential to crash the service.

2

How do I fix CVE-2025-54472?

To fix CVE-2025-54472, upgrade Apache bRPC to version 1.14.1 or later.

3

Which versions of Apache bRPC are affected by CVE-2025-54472?

All versions of Apache bRPC prior to 1.14.1 are affected by CVE-2025-54472.

4

What impact does CVE-2025-54472 have on systems using Apache bRPC?

CVE-2025-54472 allows attackers to exploit the service, potentially causing a crash through unlimited memory allocation.

5

Is there a workaround for CVE-2025-54472 until I can update Apache bRPC?

There are no specific workarounds for CVE-2025-54472; it is recommended to upgrade to mitigate the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203