5.3medium
Apache bRPC: NULL Pointer Dereference in RTMP createStream Error Path Leading to Remote Denial of Service
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.48% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
NULL pointer dereference in the RTMP protocol implementation in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to crash the server (denial of service) via a crafted createStream command. Root Cause: When an RTMP service rejects a createStream request by returning a null stream from RtmpService::NewStream(), the server sends an error response to the client. If writing this rejection response fails (for example, because the client closes the connection immediately after sending the createStream command), the error-handling path in RtmpChunkStream::OnCreateStream() dereferences the null stream pointer to access stream->_onfail_id, causing the process to crash. Affected Scenarios: Run an Apache bRPC RTMP server whose RtmpService::NewStream() may return null (i.e., the service rejects createStream requests). A remote client that sends a createStream command and then closes the connection before the rejection response is written can crash the server. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3508
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apache/brpc | before 1.18.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
NULL pointer dereference in the RTMP protocol implementation in Apache bRPC (version < 1.18.0) on all platforms allows remote attackers to crash the server (denial of service) via a crafted createStream command. Root Cause: When an RTMP service rejects a createStream request by returning a null stream from RtmpService::NewStream(), the server sends an error response to the client. If writing this rejection response fails (for example, because the client closes the connection immediately after sending the createStream command), the error-handling path in RtmpChunkStream::OnCreateStream() dereferences the null stream pointer to access stream->_onfail_id, causing the process to crash. Affected Scenarios: Run an Apache bRPC RTMP server whose RtmpService::NewStream() may return null (i.e., the service rejects createStream requests). A remote client that sends a createStream command and then closes the connection before the rejection response is written can crash the server. How to Fix: (Choose one of the following options) 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3508
NVD (es)
Desreferenciación de puntero NULL en la implementación del protocolo RTMP en Apache bRPC (versiones anteriores a la 1.18.0) en todas las plataformas permite a atacantes remotos bloquear el servidor (denegación de servicio) mediante un comando createStream manipulado.\n\nCausa raíz:\nCuando un servicio RTMP rechaza una solicitud createStream devolviendo un flujo nulo desde RtmpService::NewStream(), el servidor envía una respuesta de error al cliente. Si la escritura de esta respuesta de rechazo falla (por ejemplo, porque el cliente cierra la conexión inmediatamente después de enviar el comando createStream), la ruta de manejo de errores en RtmpChunkStream::OnCreateStream() desreferencia el puntero de flujo nulo para acceder a stream -> _onfail_id, provocando el bloqueo del proceso.\n\nEscenarios afectados:\nEjecutar un servidor RTMP de Apache bRPC cuyo RtmpService::NewStream() pueda devolver null (es decir, el servicio rechaza solicitudes createStream). Un cliente remoto que envía un comando createStream y luego cierra la conexión antes de que se escriba la respuesta de rechazo puede bloquear el servidor.\n\nCómo corregir:\n(Elija una de las siguientes opciones)\n1. Actualizar bRPC a la versión 1.18.0, que corrige este problema.\n2. Aplicar este parche: https://github.com/apache/brpc/pull/3508
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82953 changed 2026-10-26 | CVE Terms of Use |
| NVD | CVE-2026-82953 changed 2026-10-26 | Public domain |