Skip to main content

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

0
High
VulnerabilityCVE-2026-78066cvecve-2026-78066cwe-770
Published: 10/21/2026 (10/21/2026, 11:53:42 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache bRPC

Description

CVE-2026-78066 is a resource exhaustion vulnerability in Apache bRPC versions prior to 1.18.0. Multiple parsers accept wire-controlled input without limiting declared sizes or decompressed output, allowing attackers to cause excessive memory consumption and crash the service. The issue affects gzip/zlib/snappy decompressors, AMF string readers, RTMP chunk headers, sofa-pbrpc parser, and mcpack2pb message handling. The vulnerability is fixed in version 1.18.0, which enforces limits on decompressed sizes and message lengths.

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:18:52 UTC

Technical Analysis

Apache bRPC before version 1.18.0 contains multiple resource exhaustion flaws due to lack of limits on input sizes and decompressed output. Specifically, decompressors for gzip, zlib, and snappy do not enforce output size limits, allowing a compressed body within size limits to decompress to tens of gigabytes. AMF string readers allocate memory based on declared lengths before data availability. RTMP chunk headers can re-declare message lengths without bounds, causing unbounded buffer growth. The sofa-pbrpc parser does not limit meta_size, and mcpack2pb trusts wire-declared item counts, which can cause buffer underflows and process aborts. These issues can be exploited by attackers sending crafted messages to cause disproportionate memory use and crash the process. The vulnerability is addressed in Apache bRPC 1.18.0 by enforcing limits and rejecting requests exceeding configured thresholds.

Potential Impact

Attackers can exploit this vulnerability to cause resource exhaustion on affected Apache bRPC services by sending specially crafted compressed or protocol messages. This can lead to excessive memory consumption and process crashes, resulting in denial of service. The vulnerability affects any bRPC service accepting gzip/zlib/snappy-compressed bodies or rtmp, sofa-pbrpc, or mcpack2pb messages from untrusted clients.

Mitigation Recommendations

Upgrade Apache bRPC to version 1.18.0, which includes fixes that enforce limits on decompressed sizes, message lengths, and declared counts. Alternatively, apply the patch available at https://github.com/apache/brpc/pull/3476. After applying the fix, requests exceeding the new limits are rejected. Operators requiring larger limits can adjust the corresponding flags (-max_decompressed_body_size, max_body_size) as needed.

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-08-22T11:46:39.347Z
State
PUBLISHED

Threat ID: 6ad8aa322cdf04f656e9462a

Added to database: 10/21/2026, 12:04:02 UTC

Last enriched: 10/21/2026, 12:18:52 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