CVE-2025-54472
Last modified
CVE-2025-54472 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
Description
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 redis_max_allocation_size to set a larger limit.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Brpc | < 1.14.1 |
References
- https://lists.apache.org/thread/r3xsy3wvs4kmfhc281173k5b6ll1xt2mMailing List, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-54472?
How severe is CVE-2025-54472?
How do I fix CVE-2025-54472?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-54467When a Java command with password parameters is executed and…5.3
- CVE-2025-54468A vulnerability has been identified within Rancher Manager w…4.7
- CVE-2025-54469A vulnerability was identified in NeuVector, where the enfor…9.9
- CVE-2025-5447A vulnerability was found in Linksys RE6500, RE6250, RE6300,…9.8
- CVE-2025-54470This vulnerability affects NeuVector deployments only when t…8.6
- CVE-2025-54471NeuVector used a hard-coded cryptographic key embedded in th…6.5
- CVE-2025-54473An authenticated RCE vulnerability in Phoca Commander compon…9.2
- CVE-2025-54474A SQLi vulnerability in DJ-Classifieds component 3.9.2-3.10.…8.5
- CVE-2025-54475A SQL injection vulnerability in the JS Jobs plugin versions…8.7
- CVE-2025-54476Improper handling of input could lead to an XSS vector in th…4.8
- CVE-2025-54477Improper handling of authentication requests lead to a user …5.3
- CVE-2025-54478Mattermost Confluence Plugin version <1.5.0 fails to enforce…5.3
Are you affected by CVE-2025-54472?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
