CVE-2026-74757
Last modified
CVE-2026-74757 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Uncontrolled resource allocation in the mcpack2pb component in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to make the server allocate a large amount of memory via sending a crafted mcpack request with a huge array item count. Root Cause: The bRPC mcpack2pb parser trusts the item count stored in the mcpack array header without validating it against the actual payload size. The code generated by the mcpack2pb protoc plugin uses this count to preallocate memory for repeated protobuf fields via Reserve(). EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
Uncontrolled resource allocation in the mcpack2pb component in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to make the server allocate a large amount of memory via sending a crafted mcpack request with a huge array item count. Root Cause: The bRPC mcpack2pb parser trusts the item count stored in the mcpack array header without validating it against the actual payload size. The code generated by the mcpack2pb protoc plugin uses this count to preallocate memory for repeated protobuf fields via Reserve(). A malformed request declaring item_count = 0x7fffffff can force the server to preallocate about 16GB of virtual memory, which may abort the process (SIGABRT) on memory-constrained hosts. Affected Scenarios: Use a bRPC server that wires a NsheadService to UbrpcMcpack2Adaptor (the Baidu ubrpc deployment pattern) and parses requests with code generated by the mcpack2pb protoc plugin. The request body is parsed before authentication. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3451 Note: No matter which option you choose, you should know that the fix caps the array item count to the remaining bytes of the array payload.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache bRPC | < 1.18.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-74757?
How severe is CVE-2026-74757?
How do I fix CVE-2026-74757?
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 2026
- CVE-2026-74751In the Linux kernel, the following vulnerability has been re…9.4
- CVE-2026-74752In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-74753In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-74754In the Linux kernel, the following vulnerability has been re…
- CVE-2026-74755An integer underflow in the mcpack2pb component of Apache bR…7.5
- CVE-2026-74756Some docker-compose shipped by the project exposes by defaul…
- CVE-2026-74758A heap use-after-free in the RTMP protocol component of Apac…7.5
- CVE-2026-74759Google::Auth versions 0.12 for Perl allow server side reques…
- CVE-2026-7476Use After Free vulnerability in Arm Ltd Bifrost GPU Kernel D…7.8
- CVE-2026-74760Google::Auth versions from 0.11 through 0.12 for Perl accept…
- CVE-2026-74761Improper input validation in TopicRegion in Apache ActiveMQ,…7.5
- CVE-2026-74764Pandora contains a path traversal vulnerability in its TAR a…10
Are you affected by CVE-2026-74757?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
