# CVE-2026-82231: Apache bRPC: Malformed Thrift T_EXCEPTION reply causes process termination in Thrift client

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-21T12:04:19.454Z
- Modified: 2026-10-30T15:16:55.637Z
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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

(As written by CVE List.)

## Affected

- apache/brpc: before 1.18.0

## References

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

## Sources

- CVE List: [CVE-2026-82231](https://www.cve.org/CVERecord?id=CVE-2026-82231), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-82231](https://nvd.nist.gov/vuln/detail/CVE-2026-82231), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-82231 · Whole record: https://cve.day/CVE-2026-82231.json · Rebuilt by cve.day 2026-11-25T22:59:46.596Z
