Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-74758

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74758

Apache bRPC

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache bRPC",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.18.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/apache/brpc",
    "packageName": "apache/brpc",
    "collectionURL": "https://github.com",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-74758

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#45859 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement