CVE-2026-107696

FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c

Published Oct 8, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FFmpeg releases up to 9.0.2 contain an infinite loop flaw in the RTSP client routine ff_rtsp_connect() that follows 302 redirects without a limit. When an attacker controls an RTSP server, each client request can be answered with a redirect that points back to the same server or to another malicious host, causing ffmpeg to reconnect endlessly. The resulting endless loop saturates a CPU core, leading to a denial‑of‑service condition for the system or application using ffmpeg. The weakness is a classic infinite-loop flaw, identified by CWE‑835, and the CVSS score of 7.1 reflects the high impact of resource exhaustion.

Affected Systems

The vulnerability affects all builds of FFmpeg through version 9.0.2 inclusive. Any deployment that uses this binary as an RTSP client is potentially impacted; upgrades to 9.0.3 or later eliminate the loop.

Risk and Exploitability

The flaw is scored at CVSS 7.1 with no EPSS data available, and it is not listed in the CISA KEV catalog. The likely attack vector is remote: an adversary that can act as an RTSP server for the target ffmpeg instance can trigger the issue by repeatedly issuing 302 redirects. Because the vulnerability relies on external responses, it does not require local code execution or user interaction; a sufficiently exposed ffmpeg instance can be targeted from outside the network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the FFmpeg package to version 9.0.3 or later, eliminating the redirect‑loop bug.
  • If an immediate upgrade is not possible, modify the application or FFmpeg configuration to disable or limit RTSP redirects, such as by setting a maximum redirect count or rejecting 3xx responses.
  • Apply system‑level resource controls—CPU quotas, cgroups or container limits—around ffmpeg to prevent any single instance from exhausting hardware resources.

Generated by OpenCVE AI on October 8, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FFmpeg through 9.0.2 Infinite Loop via RTSP Redirect Handling in rtsp.c
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-835
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, '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'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 9, 2026, 11:41 AM
Reserved
Oct 8, 2026, 4:51 PM
Status
Analyzed
Published
Oct 8, 2026, 6:17 PM
Modified
Oct 14, 2026, 11:54 PM
Severity
Moderate
Public date
Oct 8, 2026, 5:30 PM