CVE-2026-82231: CWE-248 Uncaught Exception in Apache Software Foundation Apache bRPC
Description
Apache bRPC versions prior to 1.18.0, when built with WITH_THRIFT enabled, contain a vulnerability where a malformed T_EXCEPTION reply from a server peer causes the client to throw uncaught exceptions. This leads to the termination of the entire client process, affecting all ongoing RPC calls. The issue arises because the client does not catch exceptions such as TProtocolException, TTransportException, or std::length_error thrown during decoding. The vulnerability is fixed in version 1.18.0.
Affected software
Apache Software Foundation
Apache bRPC
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Apache bRPC versions before 1.18.0 built with WITH_THRIFT enabled (which is off by default), a malicious or faulty server peer can send a malformed T_EXCEPTION reply. When the client attempts to decode this reply, it throws exceptions (TProtocolException, TTransportException, or std::length_error) that are not caught within the bthread task function. This uncaught exception causes std::terminate() to be called, terminating the entire client process and all in-flight RPCs. The vulnerability is addressed by upgrading to bRPC version 1.18.0 or applying the patch linked in the vendor's repository.
Potential Impact
The vulnerability allows a server peer to crash the client process by sending a malformed exception reply. This results in denial of service for the client, as the entire process terminates, disrupting all ongoing RPC communications. The threat model considers the server peer untrusted, so this can be exploited by a malicious server to disrupt client operations.
Mitigation Recommendations
Upgrade Apache bRPC to version 1.18.0, which includes a fix for this vulnerability. Alternatively, apply the patch available at https://github.com/apache/brpc/pull/3500. Since the vulnerability requires a WITH_THRIFT build (off by default), ensure that this build option is disabled if not needed to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-08-28T09:34:00.971Z
- State
- PUBLISHED
Threat ID: 6ad8b1502cdf04f656ecd9bd
Added to database: 10/21/2026, 12:34:24 UTC
Last enriched: 10/21/2026, 12:49:40 UTC
Last updated: 10/21/2026, 12:49:45 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.