Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim app to malicious RTSP URL
-
DeliveryClient calls ff_rtsp_connect()
-
ExploitServer returns 302 redirect to itself
-
ExecutionFFmpeg follows redirect with no limit
-
ImpactEndless reconnect loop saturates CPU core
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the FFmpeg-based client actually opens an RTSP stream and that the attacker controls the RTSP server at the target URL (or can cause a redirect to one) - the attacker then replies to every request with a 3xx (e.g., 302) redirect, which ff_rtsp_connect() follows with no redirect-count limit. Limiting factors: the victim application must use FFmpeg's RTSP demuxer and must be induced to connect to the attacker-controlled endpoint (reflected in UI:P / passive user interaction); impact is confined to CPU saturation of the affected process/core with no data compromise. Highest exposure is in services that accept and open user-supplied RTSP URLs automatically. |
| Impact | This is a genuine but bounded availability threat, not a top-tier emergency. All signals point to denial-of-service only: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) and CWE-835 (infinite loop) agree with the description that the sole impact is CPU exhaustion (VA:H, with VC:N/VI:N - no confidentiality or integrity loss). Exploitation code is publicly available (per the VulnCheck advisory and the referenced gist), which raises practical risk, but the vulnerability is NOT in CISA KEV and no EPSS score was provided in the input, so there is no evidence of active, widespread exploitation - treat this as 'publicly available exploit code exists,' distinct from in-the-wild use. The key limiting factor is UI:P (passive user interaction): the victim application must initiate an RTSP connection to an attacker-controlled or attacker-redirected server, so this is a client-side DoS requiring the target to reach out to a malicious RTSP endpoint rather than an unsolicited remote attack. The CVSS 7.1 appears to be a 4.0 score; note that a comparable 3.1 scoring lands lower (~6.5) because 3.1 UI is binary (UI:R). Net: patch on a normal cadence; prioritize higher for servers/services that fetch untrusted RTSP URLs on demand. |
| Exploit ScenarioDerived | An attacker stands up a malicious RTSP server (or compromises/poisons an RTSP URL a victim will open) and answers every client request with a 302 redirect pointing back to itself. When an FFmpeg-based application connects, ff_rtsp_connect() follows the redirects with no limit, looping endlessly and pinning a CPU core. A public proof-of-concept exists (referenced gist), lowering the skill needed to reproduce the condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
FFmpeg through 9.0.2 contains an infinite loop in ff_rtsp_connect() (libavformat/rtsp.c) because the RTSP client follows 3xx redirects without a redirect limit, allowing a malicious RTSP server to cause endless reconnects that saturate a CPU core. Exploitation is remote and unauthenticated (CVSS PR:N) but requires passive user interaction (UI:P/UI:R): the victim must open an RTSP stream that resolves to the attacker-controlled server, which then answers every request with a 302 redirect to itself or another server. Publicly available exploit code exists (a gist PoC), but no CISA KEV entry confirms active exploitation; the independent assessment rates this as a genuine but bounded availability threat, with the highest exposure in services that accept and open user-supplied RTSP URLs automatically.
RemediationAI
Apply the upstream fix (PR 24902) or upgrade to an FFmpeg release that incorporates it; a released patched version is not independently confirmed, so verify the exact version from the vendor. Per input data, patch is available from vendor as a pull request. If immediate upgrade is not possible, implement compensating controls: restrict RTSP URLs to a trusted allowlist so clients cannot be redirected to attacker-controlled endpoints, and enforce network egress filtering to block unexpected redirect destinations. Configure FFmpeg's RTSP demuxer with a connection timeout and a bounded reconnect/retry policy (e.g., -timeout or -rw_timeout options, or wrap the process with a supervisor that kills after N redirects) - trade-off: overly strict timeouts may terminate legitimate slow streams. Run FFmpeg under CPU limits (cgroups, ulimit -t, or nice) to cap the impact of a successful loop to a fraction of a core - trade-off: may degrade legitimate transcoding performance. Avoid using the affected RTSP demuxer in automated pipelines that open user-supplied URLs without validation; where possible, disable the RTSP demuxer in builds that do not require it. Reference: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-via-rtsp-redirect-handling-in-rtsp-c and the PoC gist https://gist.github.com/OxBat/648a0bd60c898f2ffb418e131ce26013.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FFmpeg's libavformat library implements the RTSP demuxer used by client applications to consume RTSP streams. The vulnerable function ff_rtsp_connect() in libavformat/rtsp.c (see the n9.0.2 source line 2225) handles the initial RTSP connection setup and, upon receiving an HTTP-style 3xx response such as 302 Found, follows the Location header to reconnect. No redirect-count limit or loop guard is enforced, so a server that always returns a 302 redirect to a valid RTSP endpoint can force the client into an unbounded connect-redirect-reconnect cycle. This is classified as CWE-835 (Loop with Unreachable Exit Condition / infinite loop). The affected component is the RTSP demuxer, which may be enabled in any FFmpeg build that includes libavformat with RTSP support; the CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* indicates all versions up to and including 9.0.2 are potentially affected. The loop is CPU-bound (tight network and parsing activity), and there is no memory corruption, code execution, or data exposure; impact is limited to availability of the affected process. The upstream fix is proposed in PR 24902 (code.ffmpeg.org), which likely introduces a redirect limit.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable with low complexity and no privileges, but the client must initiate the RTSP connection to the attacker (UI:R); impact is availability-only (A:H), no C/I.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
CWE-835 (Infinite Loop) per the advisory; the PoC author self-labels CWE-674/CWE-400.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
FFmpeg versions through 9.0.2 are affected by a high-severity availability flaw that can let a malicious RTSP server tie up a CPU core on systems that process user-supplied RTSP streams, potentially degrading or disrupting media-handling services. The primary risk falls on teams running public-facing or automated media ingestion, transcoding, or streaming services that open arbitrary RTSP URLs, while ordinary desktop playback requires the user to first open a malicious stream. Leadership should care because exploitation can cause service slowdowns and operational cleanup costs, though the impact appears bounded, publicly available exploit code exists, and a vendor patch is available.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-95124
GHSA-jmpw-6qm3-5h67
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB