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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-835 — Loop with Unreachable Exit Condition ('Infinite Loop')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | 0 to <=9.0.2 [affected] |
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)
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-via-rtsp-redirect-handling-in-rtsp-c (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 09 Oct 2026 06:36 UTC.