# CVE-2026-78058: Apache bRPC: Unbounded Resource Consumption and Crash in the HTTP/2 Receive Path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **CWE:** CWE-400, CWE-476
- **Published:** 2026-10-21T11:52:57.984Z
- **Modified:** 2026-10-30T17:17:28.880Z

## Who should check

- Anyone running Apache Software Foundation Apache bRPC \< 1.18.0

## Description

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 untrusted network, and any bRPC h2/gRPC client connecting to an untrusted backend. The h2 parser runs before any Authenticator check on the shared port.

How to fix: 
Upgrade bRPC, or apply the patch in https://github.com/apache/brpc/pull/3474.

Note:
After applying the fix the following limits are enforced by default:
- max\_concurrent\_streams: 1024 per connection (4294967295 restores unlimited).
- max\_header\_list\_size: 1 MiB decoded size per stream (4294967295 restores unlimited; -h2\_client\_max\_header\_list\_size for clients).
- h2 control-frame acks respect -socket\_max\_unwritten\_bytes (-h2\_ack\_ignore\_eovercrowded restores the old behavior).
Requests exceeding these limits are rejected (RST\_STREAM(REFUSED\_STREAM) or a connection error).

## Affected and fixed versions

- Apache Software Foundation Apache bRPC: \< 1.18.0 (cvelist)

## Mitigation

- Upgrade Apache bRPC to 1.18.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-78058. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-78058.md
Affected: Apache Software Foundation Apache bRPC < 1.18.0
Fixed in: Apache Software Foundation Apache bRPC 1.18.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache bRPC: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-78058 being exploited?

There is no confirmed exploitation: CVE-2026-78058 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-78058?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-78058?

Apache Software Foundation Apache bRPC \< 1.18.0.

### Is there a fix for CVE-2026-78058?

Yes. Fixed in Apache Software Foundation Apache bRPC 1.18.0. Upgrade Apache bRPC to 1.18.0 or later.

### How do I check if I'm affected by CVE-2026-78058?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-78058>

HTML: <https://flawdb.com/CVE-2026-78058> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-78058>
