Description
FFmpeg through 9.0.2 contains an infinite loop vulnerability in ff_rtsp_connect() in libavformat/rtsp.c that follows RTSP 3xx redirects without any redirect limit. Attackers controlling an RTSP server can answer every request with a 302 redirect to itself or another server, causing endless reconnects that saturate a CPU core.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | ≤ 9.0.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | No fix yet | — |
| Debian 13 | ffmpeg | No fix yet | — |
| Debian 12 | ffmpeg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 24.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 22.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ffmpeg | No fix yet | — |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ffmpeg-7 +4 | No fix yet | — |
Advisories 1
- WID-SEC-2026-3820 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 8, 2026
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24902 patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtsp.c#L2225 technical-description
- https://gist.github.com/OxBat/648a0bd60c898f2ffb418e131ce26013 exploit
- https://github.com/FFmpeg/FFmpeg product
- VulnCheck Advisory: FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c third-party-advisory