Description
A Thrift client in Apache bRPC (version < 1.18.0, built with WITH_THRIFT which is off by default) can be crashed by the server peer it talks to. When the server returns a T_EXCEPTION reply whose exception struct is malformed, the client decodes it without catching what Apache Thrift throws (TProtocolException, TTransportException or std::length_error). The exception unwinds out of the bthread task function and the process calls std::terminate(), terminating the whole process along with every other in-flight RPC.

This is the client response path, so the adversary is the server peer, which THREAT_MODEL.md treats as untrusted. It requires a WITH_THRIFT build (off by default).

How to Fix:
1. Upgrade bRPC to version 1.18.0, which fixes this issue.
2. Apply this patch: https://github.com/apache/brpc/pull/3500
Published: 2026-10-21
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Denial of Service via client crash
Action: Apply Patch
AI Analysis

Impact

A malformed T_EXCEPTION reply sent by a server to an Apache bRPC Thrift client causes the Thrift library to throw an exception that is not caught, leading to std::terminate() being invoked. The entire client process is terminated, causing loss of all in‑flight RPC calls. This is a classic remote denial‑of‑service issue that can be triggered by an untrusted server.

Affected Systems

The vulnerability affects Apache bRPC builds that enable the optional WITH_THRIFT feature. Any version of bRPC prior to 1.18.0 that includes this feature is susceptible. Builds that do not enable WITH_THRIFT or use bRPC 1.18.0 or newer are not impacted.

Risk and Exploitability

The flaw is remotely exploitable by a server peer that can send a malformed T_EXCEPTION reply. No official CVSS or EPSS score is provided, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker could repeatedly send the malformed reply to trigger process termination. The attack requires connectivity to the vulnerable client and an untrusted server, which is considered a high‑risk scenario in the threat model. The exploitation mechanism is straightforward and does not require additional privileges or user interaction.

Generated by OpenCVE AI on October 21, 2026 at 19:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache bRPC to version 1.18.0 or later, which resolves the client-side bug.
  • If an upgrade is not immediately feasible, apply the patch from the GitHub pull request linked in the advisory before compiling the code.
  • For deployments that must use WITH_THRIFT, restrict client connections to trusted peers or isolate the client from untrusted servers in the network.

Generated by OpenCVE AI on October 21, 2026 at 19:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description A Thrift client in Apache bRPC (version < 1.18.0, built with WITH_THRIFT which is off by default) can be crashed by the server peer it talks to. When the server returns a T_EXCEPTION reply whose exception struct is malformed, the client decodes it without catching what Apache Thrift throws (TProtocolException, TTransportException or std::length_error). The exception unwinds out of the bthread task function and the process calls std::terminate(), terminating the whole process along with every other in-flight RPC. This is the client response path, so the adversary is the server peer, which THREAT_MODEL.md treats as untrusted. It requires a WITH_THRIFT build (off by default). How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3500
Title Apache bRPC: Malformed Thrift T_EXCEPTION reply causes process termination in Thrift client
Weaknesses CWE-248
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-21T12:04:19.454Z

Reserved: 2026-08-28T09:34:00.971Z

Link: CVE-2026-82231

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-21T13:20:03.100

Modified: 2026-10-21T13:20:03.100

Link: CVE-2026-82231

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T19:30:08Z

Weaknesses