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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 46% of CVEs (2026-11-30)
- Published: 2026-10-21T11:48:23.883Z
- Modified: 2026-10-30T17:17:28.090Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

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.rtmp_service 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.

(As written by CVE List.)

## Affected

- apache/brpc: before 1.18.0

## References

- <https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-74758](https://www.cve.org/CVERecord?id=CVE-2026-74758), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-74758](https://nvd.nist.gov/vuln/detail/CVE-2026-74758), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-74758 · Whole record: https://cve.day/CVE-2026-74758.json · Rebuilt by cve.day 2026-11-25T22:59:46.583Z
