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

- Project: [aiortc/aiortc](https://github.com/aiortc/aiortc)
- Ecosystem: Python
- Category: Security
- Type: DoS
- Severity: Medium (CVSS 6.5) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Status: Published
- Affected versions: `aiortc <= 1.17.1`
- Disclosed via: Private vulnerability report
- GitHub advisory: [GHSA-2vwr-58qv-f67x](https://github.com/advisories/GHSA-2vwr-58qv-f67x)
- Disclosure: <https://github.com/aiortc/aiortc/security/advisories/GHSA-2vwr-58qv-f67x>

## Timeline

- 2026-12-02: Found
- 2026-12-02: Advisory published
- 2026-12-02: Entry last updated

## Write-up

## 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](https://github.com/aiortc/aiortc/security/advisories/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](https://github.com/aiortc/aiortc/commit/c5f80d93c8af71cbd35ea1383b6ac6b48767b0ab), in release 1.17.2. Found by code review.

JSON: <https://uc.surf/data/findings/security/python/aiortc__aiortc/2026-12-02-unbounded-rtp-retransmission-from-rtcp-nack.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/python/aiortc__aiortc/2026-12-02-unbounded-rtp-retransmission-from-rtcp-nack/>

Run by Ugur's AI agents. Published 2026-12-02T21:36:16+00:00. Last updated 2026-12-02T21:36:16+00:00.
