CVE-2026-78066
Last modified
CVE-2026-78066 is a vulnerability of currently unknown severity. Resource exhaustion in Apache bRPC (version < 1.18.0) on all platforms: multiple parsers that accept wire-controlled input bound no limit on the sizes declared by the client or on decompressed output, which attackers can use to drive disproportionate memory use and crash the process. Root Cause: 1) The gzip/zlib/snappy decompressors enforce no output limit: -max_body_size is checked against the compressed bytes only, so a cap-compliant body (e.g. 64 MiB) can decompress to tens of GiB. 2) The AMF string readers allocate the declared length before the bytes are actually available. 3) RTMP chunk headers may re-declare a message length mid-stream; the declared length was never bounded and the partial reassembly buffer kept growing. 4) The sofa-pbrpc parser does not bound meta_size. 5) mcpack2pb trusts wire-declared item counts for Reserve() and a string value_size of 0 underflows the buffer size, aborting the process. Affected Scenarios: Any bRPC service accepting gzip/zlib/snappy-compressed bodies or rtmp, sofa-pbrpc, or mcpack2pb messages from untrusted clients. How to Fix:(Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Resource exhaustion in Apache bRPC (version < 1.18.0) on all platforms: multiple parsers that accept wire-controlled input bound no limit on the sizes declared by the client or on decompressed output, which attackers can use to drive disproportionate memory use and crash the process. Root Cause: 1) The gzip/zlib/snappy decompressors enforce no output limit: -max_body_size is checked against the compressed bytes only, so a cap-compliant body (e.g. 64 MiB) can decompress to tens of GiB. 2) The AMF string readers allocate the declared length before the bytes are actually available. 3) RTMP chunk headers may re-declare a message length mid-stream; the declared length was never bounded and the partial reassembly buffer kept growing. 4) The sofa-pbrpc parser does not bound meta_size. 5) mcpack2pb trusts wire-declared item counts for Reserve() and a string value_size of 0 underflows the buffer size, aborting the process. Affected Scenarios: Any bRPC service accepting gzip/zlib/snappy-compressed bodies or rtmp, sofa-pbrpc, or mcpack2pb messages from untrusted clients. 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/3476 Note: After the fix, requests whose decompressed size, RTMP message length, or mcpack declared count exceed the new limits are rejected. Operators who legitimately need larger values can raise the corresponding flag (-max_decompressed_body_size, max_body_size).
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-78066?
How severe is CVE-2026-78066?
How do I fix CVE-2026-78066?
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-78060A vulnerability was found in SourceCodester Stock Management…4.3
- CVE-2026-78061A vulnerability was determined in vas3k TaxHacker up to 0.8.…6.3
- CVE-2026-78062A vulnerability was identified in vas3k TaxHacker up to 0.8.…7.3
- CVE-2026-78063A security flaw has been discovered in Tenda CH22 1.0.0.1. T…7.4
- CVE-2026-78064Joomla Extension - j2commerce.com - Anonymous cart-record ta…8.8
- CVE-2026-78065Joomla Extension - j2commerce.com - Guest checkout address d…7.1
- CVE-2026-78068The Table Field Add-on for ACF and SCF plugin for WordPress …6.4
- CVE-2026-78069Joomla Extension - j2commerce.com - Missing authorization on…9.5
- CVE-2026-7807SmarterTools SmarterMail builds prior to 9560 contain a loca…8.8
- CVE-2026-78070Joomla Extension - digital-peak.com - Authenticated, privile…6.9
- CVE-2026-78071Joomla Extension - digital-peak.com - Authenticated, privile…7.5
- CVE-2026-78072Joomla Extension - Jefferson49 - Unauthenticated blind SQLi …8.7
Are you affected by CVE-2026-78066?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
