Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-79704

HIGH 7.5EPSS 32%

Apache bRPC: Out-of-bounds Read in Multi-stream RPC Response Handling

Mitigation

  • Upgrade Apache bRPC to 1.18.0 or later.

Who should check

  • Anyone running Apache Software Foundation Apache bRPC >= 1.11.0, < 1.18.0

Vulnerability facts

Affected
Apache Software Foundation Apache bRPC >= 1.11.0, < 1.18.0
Fixed in
Apache Software Foundation Apache bRPC 1.18.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

An out-of-bounds read vulnerability exists in the streaming RPC client of Apache bRPC (versions 1.11.0 through  1.17.0) on all platforms. A client that creates multiple streams in a single RPC expects the server response to carry exactly one extra_stream_id for every additional stream. The response handling path indexed the returned identifiers using the locally created stream count without first validating the size of the returned list, so a malicious or compromised server (or an on-path attacker) can trigger an out-of-bounds read in the client by returning a malformed StreamSettings response with fewer extra_stream_ids than expected. This may crash the client process (denial of service) or leak unintended memory contents into subsequent stream handling; surplus identifiers have no valid client-stream mapping and are processed inconsistently. Root Cause: Since bRPC 1.11.0, a client can create multiple streams in one RPC via batch StreamCreate. The expected behavior is that the server response must return exactly (N-1) extra_stream_ids, where N is the number of locally created streams. In Controller::HandleStreamConnection, the response path reads extra_stream_ids[i-1] for each additional local stream without first comparing the returned list size with (N-1). If the server returns fewer identifiers, the read runs past the end of the returned list (out-of-bounds read); if it returns more, the surplus identifiers have no corresponding client-side stream. Affected Scenarios: A bRPC client using multi-stream RPC (creating more than one stream in a single RPC) that connects to an untrusted, malicious, or compromised server or to a server reached through an untrusted network path. The server sends a malformed StreamSettings response to trigger the issue. 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/3485 Note: The fix makes the client reject responses whose extra_stream_ids count does not exactly match the number of additional client streams. Such mismatched responses now fail the RPC with ERESPONSE and go through the existing stream cleanup path, instead of being partially processed.

Affected and fixed versions

Package / productAffectedFixedSource
Apache Software Foundation Apache bRPC>= 1.11.0, < 1.18.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-79704.md
Affected: Apache Software Foundation Apache bRPC >= 1.11.0, < 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.

References

FAQ

Is CVE-2026-79704 being exploited?

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

How serious is CVE-2026-79704?

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

Which versions are affected by CVE-2026-79704?

Apache Software Foundation Apache bRPC >= 1.11.0, < 1.18.0.

Is there a fix for CVE-2026-79704?

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-79704?

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.

Sponsors