CVE-2026-74758: Apache bRPC: Heap Use-After-Free in RTMP Abort Message Handling

Published Oct 21, 2026
·
Updated

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.

Root Cause: When 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.

Affected Scenarios: bRPC servers that enable RTMP support (ServerOptions.rtmpservice set) and accept connections from untrusted networks.

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/3452

The fix skips clearing the chunk stream when the Abort message targets the chunk stream that is currently being parsed.

Affected Software

1 affected component
Apache bRPC<1.18.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache bRPC to a version that resolves this vulnerability.

    Fixed in 1.18.0

Event History

Oct 21, 2026
CVE Published
via MITRE·11:48 AM
Data Sourced
via MITRE·11:48 AM
DescriptionWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

bRPC servers running a version earlier than 1.18.0 are affected if they enable RTMP support with ServerOptions.rtmp_service set and accept connections from untrusted networks.

2

What does an attacker need to exploit this issue?

An attacker only needs network access to the RTMP server and the ability to send a crafted RTMP Abort control message. Authentication and an application-level request are not required.

3

What is the practical impact?

A remote attacker can crash the affected bRPC RTMP server by causing a heap use-after-free during RTMP Abort message handling.

4

What can be done if an immediate upgrade is not possible?

Apply the patch from Apache bRPC pull request 3452. The fix avoids clearing a chunk stream when an Abort message targets the chunk stream currently being parsed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203