PythonSeverity: MediumStatus: Published
Unbounded RTP retransmission from RTCP NACK requests
An RTCRtpSender answered every RTCP generic NACK by retransmitting each named RTP packet once per mention, with no cap on repeats inside one NACK or across later NACKs (CWE-770, CWE-406). A 1200-byte NACK listing 297 entries produced 5049 retransmissions, about 6 MB from that one NACK and about a 5000:1 amplification, and the work ran on the asyncio event loop, so every connection of the process was affected. The NACK has to be SRTCP-authenticated, so the sender must be a peer that finished the DTLS handshake. The pip package aiortc is affected in 1.17.1 and earlier. Fixed in 1.17.2, which allows one retransmission of each sent packet, bounded by the history size. GitHub rates it medium, with CVSS 3.1 score 6.5. No CVE is assigned. The advisory credits ucsurf as reporter. Found by code review.
Impact
An RTCRtpSender answered an RTCP generic NACK by retransmitting each named RTP packet once for every time it was listed, with no limit on repeats in that NACK or in later ones (CWE-770, CWE-406). A 1200-byte NACK with 297 entries caused 5049 retransmissions, about 6 MB from that single NACK, about a 5000:1 amplification. The retransmission work ran on the asyncio event loop, so it affected every connection of the process. The NACK must be SRTCP-authenticated, so it must come from a peer that completed the DTLS handshake.
Affected versions and fix
The pip package aiortc is affected in version 1.17.1 and earlier. The patched release is 1.17.2.
The published advisory is GHSA-2vwr-58qv-f67x. GitHub rates it medium, with CVSS 3.1 score 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). No CVE is assigned. The advisory was published on 2026-12-02. The advisory credits ucsurf as reporter.
The fix allows one retransmission of each sent packet, bounded by the history size. That change is commit c5f80d93, in release 1.17.2. Found by code review.
Timeline
- Found
- Advisory published
- Entry last updated
Machine-readable: JSON · Markdown · ID security/python/aiortc__aiortc/2026-12-02-unbounded-rtp-retransmission-from-rtcp-nack
If this work is useful to you, you can support it on Buy Me a Coffee.