{"id":"CVE-2026-74758","aliases":["CVE-2026-74758"],"related":[],"kind":"vulnerability","state":"published","title":"Apache bRPC: Heap Use-After-Free in RTMP Abort Message Handling","summary":"A heap use-after-free in the RTMP protocol component of Apache bRPC (versions < 1.18.0) allows a remote attacker to crash a bRPC RTMP server by sending a crafted Abort control message. No authentication or application-level request is required.\n\nRoot Cause:\nWhen an RTMP Abort control message names the chunk stream that is currently being parsed (the chunk stream carrying the message itself), RtmpChunkStream::OnAbortMessage calls RtmpContext::ClearChunkStream, which deletes the RtmpChunkStream while its Feed() is still running. After the message handler returns, Feed() continues to access members of the deleted object, resulting in a heap-use-after-free.\n\nAffected Scenarios:\nbRPC servers that enable RTMP support (ServerOptions.rtmp_service set) and accept connections from untrusted networks.\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/3452 \n\nThe fix skips clearing the chunk stream when the Abort message targets the chunk stream that is currently being parsed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A heap use-after-free in the RTMP protocol component of Apache bRPC (versions < 1.18.0) allows a remote attacker to crash a bRPC RTMP server by sending a crafted Abort control message. No authentication or application-level request is required.\n\nRoot Cause:\nWhen an RTMP Abort control message names the chunk stream that is currently being parsed (the chunk stream carrying the message itself), RtmpChunkStream::OnAbortMessage calls RtmpContext::ClearChunkStream, which deletes the RtmpChunkStream while its Feed() is still running. After the message handler returns, Feed() continues to access members of the deleted object, resulting in a heap-use-after-free.\n\nAffected Scenarios:\nbRPC servers that enable RTMP support (ServerOptions.rtmp_service set) and accept connections from untrusted networks.\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/3452 \n\nThe fix skips clearing the chunk stream when the Abort message targets the chunk stream that is currently being parsed.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de uso después de liberación en el heap en el componente del protocolo RTMP de Apache bRPC (versiones anteriores a la 1.18.0) permite a un atacante remoto provocar una caída de un servidor bRPC RTMP enviando un mensaje de control Abort manipulado. No se requiere autenticación ni solicitud a nivel de aplicación.\\n\\nCausa raíz:\\nCuando un mensaje de control Abort de RTMP nombra el flujo de fragmentos que se está analizando (el flujo de fragmentos que transporta el propio mensaje), RtmpChunkStream::OnAbortMessage llama a RtmpContext::ClearChunkStream, que elimina el RtmpChunkStream mientras su Feed() sigue en ejecución. Después de que el manejador del mensaje devuelve, Feed() continúa accediendo a miembros del objeto eliminado, lo que produce un uso después de liberación en el heap.\\n\\nEscenarios afectados:\\nServidores bRPC que habilitan el soporte RTMP (ServerOptions.rtmp_service configurado) y aceptan conexiones desde redes no confiables.\\n\\nCómo corregir:\\n1. Actualizar bRPC a la versión 1.18.0, que corrige este problema.  \\n2. Aplicar este parche: https://github.com/apache/brpc/pull/3452  \\n\\nLa corrección omite la limpieza del flujo de fragmentos cuando el mensaje Abort tiene como objetivo el flujo de fragmentos que se está analizando en ese momento.","source":"nvd"}],"published":"2026-10-21T11:48:23.883Z","modified":"2026-10-30T17:17:28.090Z","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-416"],"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":["Feng Zhijie (Dopamine)"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-30T16:45:05.389Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74758","url":"https://www.cve.org/CVERecord?id=CVE-2026-74758","licence":"CVE Terms of Use","modified":"2026-10-30T16:47:23.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74758","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74758","licence":"Public domain","modified":"2026-10-30T17:17:28.090Z"}],"updatedAt":"2026-11-25T22:59:46.583Z","epss":{"score":0.00646,"percentile":0.45658,"date":"2026-11-30T12:00:22.000Z"}}