CVE-2026-84727
Received Received - Intake

Use-after-free in Apache bRPC RTMP Protocol Implementation

Vulnerability report for CVE-2026-84727, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-21

Last updated on: 2026-10-26

Assigner: Apache Software Foundation

Description

Use-after-free in the RTMP protocol implementation in Apache bRPC (version < 1.18.0) on all platforms allows a malicious RTMP peer to crash the process or potentially corrupt memory via a crafted Abort message. Root Cause: When processing an RTMP Abort (protocol control message type 2), the RTMP policy implementation deleted the target RtmpChunkStream object. The send path (RtmpUnsentMessage::AppendAndDestroySelf -> RtmpChunkStream::SerializeMessage) runs concurrently on sender threads and dereferences the same RtmpChunkStream object without synchronization. If a remote peer sends an Abort message naming a chunk stream that is concurrently being used to serialize an outgoing message, the stream object is freed while still in use, resulting in a use-after-free. Additionally, deleting the chunk stream discarded its previous message header, so subsequent compressed (type-3) chunk headers on that stream could no longer be decoded. Affected Scenarios: Any application using the bRPC RTMP protocol implementation (rtmp policy), either as an RTMP server or as an RTMP client, where the remote endpoint is untrusted. The attacker needs to send an Abort message targeting a chunk stream id that is concurrently used for sending, which can crash the process or lead to memory corruption. 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/3515

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-21
Last Modified
2026-10-26
Generated
2026-11-10
AI Q&A
2026-10-22
EPSS Evaluated
2026-11-09
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Apache Software Foundation Apache bRPC 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-84727 is a use-after-free vulnerability in Apache bRPC's RTMP protocol implementation (versions before 1.18.0). It occurs when processing an RTMP Abort message, which deletes a chunk stream object while it is still in use by sender threads. This causes the program to crash or corrupt memory.

Detection Guidance

Detecting this vulnerability requires monitoring for crashes or memory corruption in applications using Apache bRPC's RTMP protocol implementation. Check logs for segmentation faults or unexpected terminations in bRPC processes. Use debugging tools like gdb to analyze crashes involving RTMP message handling. Monitor network traffic for malformed RTMP Abort messages targeting chunk streams.

Impact Analysis

If you use bRPC with RTMP in an application where the remote endpoint is untrusted, an attacker could send a crafted Abort message to crash your process or corrupt memory. This could lead to denial of service or potentially allow code execution.

Compliance Impact

This vulnerability does not directly affect compliance with standards like GDPR or HIPAA. It is a use-after-free issue in Apache bRPC's RTMP protocol implementation that could lead to crashes or memory corruption if exploited by a malicious RTMP peer. Compliance impacts would only occur if the vulnerability caused data breaches or system failures, which is not specified in the provided context.

Mitigation Strategies
  • Upgrade bRPC to version 1.18.0 or later to address the vulnerability.
  • If upgrading is not immediately possible, apply the patch from https://github.com/apache/brpc/pull/3515.
  • Restrict network access to trusted endpoints for RTMP protocol usage to reduce exposure.
  • Monitor application logs for signs of exploitation attempts or crashes related to RTMP message handling.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84727. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...