{"schemaVersion":4,"id":"CVE-2026-84727","aliases":[],"status":"published","duplicateOf":null,"title":"Apache bRPC: Use-After-Free in RTMP Chunk Stream Handling via Abort Message","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.\n\nRoot Cause:\nWhen 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.\n\nAffected Scenarios:\nAny 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.\n\nHow to Fix:\n(Choose one of the following options)\n1. Upgrade bRPC to version 1.18.0, which fixes this issue.\n2. Apply this patch:  https://github.com/apache/brpc/pull/3515","dates":{"published":"2026-10-21T12:11:48.638Z","modified":"2026-10-21T13:18:05.045Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00323,"percentile":0.27249,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00323},"history":[{"date":"2026-10-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00323,"percentile":0.27249}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00325,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00323,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00323,"percentile":0.27249}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"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.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"apache software foundation","product":"apache brpc","name":"Apache bRPC","label":"apache brpc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.18.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.18.0","endInclusive":false}}],"versionsText":"< 1.18.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_brpc"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/brpc/pull/3515","label":"github.com/apache/brpc/pull/3515","hostname":"github.com","tags":[]},{"url":"https://lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","label":"lists.apache.org/thread/2pf15ojj0vr7rtx95677kgtl1mx3gdgb","hostname":"lists.apache.org","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-21T12:11:48.638Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-21T13:18:05.045Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,54],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00323,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-21T13:18:05.045Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-21T13:18:05.045Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-21T13:17:59.329Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00323,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:47:03.453Z","stale":false,"partial":false}}