Skip to main content

FFmpeg EUVDEUVD-2026-95124

| CVE-2026-107696 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-10-08 VulnCheck GHSA-jmpw-6qm3-5h67
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim app to malicious RTSP URL
  2. Delivery
    Client calls ff_rtsp_connect()
  3. Exploit
    Server returns 302 redirect to itself
  4. Execution
    FFmpeg follows redirect with no limit
  5. Impact
    Endless 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded across countless media apps, servers, and devices
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy