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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24902 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.1 · ffmpegNVD modified 2026-10-14 23:54
Affected (CPE criteria) 1
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
References 5
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24902 Issue Tracking, Patch
- https://gist.github.com/OxBat/648a0bd60c898f2ffb418e131ce26013 Exploit, Third Party Advisory
- https://github.com/FFmpeg/FFmpeg Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtsp.c#L2225 Product
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-via-rtsp-redirect-handling-in-rtsp-c Third Party Advisory