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.
Published: 2026-10-08
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service through CPU exhaustion
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Fri, 09 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 09 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 08 Oct 2026 17:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-09T11:41:54.683Z

Reserved: 2026-10-08T16:51:39.862Z

Link: CVE-2026-107696

cve-icon Vulnrichment

Updated: 2026-10-09T11:41:49.209Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-08T18:17:26.133

Modified: 2026-10-14T23:54:22.317

Link: CVE-2026-107696

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-08T17:30:27Z

Links: CVE-2026-107696 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T19:15:20Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')