CVE-2026-107696: libav · 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
Affects libavSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 21 Nov 2026, 17:34 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubffmpeg/FFmpegpkg:github/ffmpeg/FFmpegOther threats | Affected
| Fixed in– |
Ubuntu Pro 14.04 LTSlibavpkg:deb/ubuntu/libav?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps-legacy/xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a patch is available, users should consider avoiding untrusted RTSP servers or implementing external controls to limit redirect handling.
Description
FFmpeg versions up to 9.0.2 contain an infinite loop vulnerability in the ff_rtsp_connect() function of libavformat/rtsp.c. This occurs because the function follows RTSP 3xx redirect responses without limiting the number of redirects. An attacker controlling an RTSP server can exploit this by sending repeated 302 redirects, causing the client to enter an endless reconnect loop that saturates a CPU core. The vulnerability has a CVSS score of 6.5, indicating medium severity.
References
- nvd.nist.gov/vuln/detail/CVE-2026-107696 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24902 (opens in a new tab)
- gist.github.com/OxBat/648a0bd60c898f2ffb418e131ce26013 (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/rtsp.c (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-via-rtsp-redirect-handling-in-rtsp-c (opens in a new tab)
- ubuntu.com/security/CVE-2026-107696 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-107696 (opens in a new tab)