{"id":"CVE-2026-82231","aliases":["CVE-2026-82231"],"related":[],"kind":"vulnerability","state":"published","title":"Apache bRPC: Malformed Thrift T_EXCEPTION reply causes process termination in Thrift client","summary":"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.\n\nThis 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).\n\nHow to Fix:\n1. Upgrade bRPC to version 1.18.0, which fixes this issue.\n2. Apply this patch: https://github.com/apache/brpc/pull/3500","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nThis 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).\n\nHow to Fix:\n1. Upgrade bRPC to version 1.18.0, which fixes this issue.\n2. Apply this patch: https://github.com/apache/brpc/pull/3500","source":"cvelist"},{"lang":"es","text":"Un cliente Thrift en Apache bRPC (versiones anteriores a la 1.18.0, compilado con WITH_THRIFT, que está desactivado por defecto) puede ser bloqueado por el par servidor con el que se comunica. Cuando el servidor devuelve una respuesta T_EXCEPTION cuya estructura de excepción está malformada, el cliente la decodifica sin capturar lo que Apache Thrift lanza (TProtocolException, TTransportException o std::length_error). La excepción se propaga fuera de la función de tarea bthread y el proceso llama a std::terminate(), terminando todo el proceso junto con cualquier otra RPC en curso.\\n\\nEsta es la ruta de respuesta del cliente, por lo que el adversario es el par servidor, que THREAT_MODEL.md trata como no confiable. Requiere una compilación WITH_THRIFT (desactivada por defecto).\\n\\nCómo corregir:\\n1. Actualizar bRPC a la versión 1.18.0, que soluciona este problema.\\n2. Aplicar este parche: https://github.com/apache/brpc/pull/3500","source":"nvd"}],"published":"2026-10-21T12:04:19.454Z","modified":"2026-10-30T15:16:55.637Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.18.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache bRPC","package":"apache/brpc","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Kaixuan Li"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-30T14:29:41.950Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82231","url":"https://www.cve.org/CVERecord?id=CVE-2026-82231","licence":"CVE Terms of Use","modified":"2026-10-30T14:30:01.845Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82231","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82231","licence":"Public domain","modified":"2026-10-30T15:16:55.637Z"}],"updatedAt":"2026-11-25T22:59:46.596Z","epss":{"score":0.00418,"percentile":0.38063,"date":"2026-12-01T12:00:22.000Z"}}