Skip to content
Heist/ feed
Unrated

Apache bRPC: Unbounded Resource Consumption and Crash in the HTTP/2 Receive Path

Type: advisorySource: Official CVE List1 source record

Uncontrolled resource consumption in the HTTP/2 (h2) receive path of Apache bRPC (version < 1.18.0) on all platforms allows a remote unauthenticated attacker to crash the server or grow its memory without bound by sending crafted HTTP/2 frames. Root Cause: The h2 parser, enabled by default on every bRPC server port and used by h2/gRPC clients, trusts the peer to respect receive-side limits that bRPC advertises but never enforces: 1. SETTINGS_MAX_CONCURRENT_STREAMS defaulted to unlimited and was never checked on the server, letting a peer pin an unbounded number of pending streams per connection (~100x memory amplification). 2. SETTINGS_MAX_HEADER_LIST_SIZE defaulted to unlimited and was never enforced; 1-byte HPACK indexed references amplify a small HEADERS frame ~4000x into an unbounded decoded header list ("HPACK bomb"), and a never-completed HEADERS/CONTINUATION block accumulates memory without limit. 3. Control-frame acks (PING/SETTINGS acks, RST_STREAM, GOAWAY, WINDOW_UPDATE) unconditionally bypassed the -socket_max_unwritten_bytes write cap, so a PING flood combined with withheld TCP reads grew the connection buffer without the documented bound. 4. The HPACK dynamic table size update was validated against the protocol default (4096) instead of the advertised SETTINGS_HEADER_TABLE_SIZE, which together with the dynamic-table queue/accounting issue can desynchronize the decoder and dereference NULL (crash). Affected scenarios: Any bRPC server serving HTTP/h2/gRPC to an unt

Announced Group revision 1
Original source ↗

CVE-2026-78058

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-78058

Apache bRPC

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache bRPC",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.18.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/apache/brpc",
    "packageName": "apache/brpc",
    "collectionURL": "https://github.com",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-78058

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#45862 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement