Skip to main content

FFmpeg EUVDEUVD-2026-95123

| CVE-2026-107695 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-10-08 VulnCheck GHSA-wrmh-p2hh-7cf6
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted self-referencing HLS playlist
  2. Delivery
    Victim opens file in FFmpeg
  3. Exploit
    parse_playlist() accepts Master tags in Media Playlist
  4. Execution
    hls_read_header() loops adding variants endlessly
  5. Impact
    Unbounded CPU/IO exhaustion denial of service

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 the FFmpeg HLS demuxer to parse an attacker-supplied playlist: the crafted Media Playlist must contain Master Playlist tags producing a self-referencing variant loop that parse_playlist()/hls_read_header() processes. The decisive LIMITING factor is user/victim interaction (CVSS UI:P) - a victim or an automated system must be induced to open the malicious playlist with FFmpeg; there is no server-side unauthenticated trigger without someone feeding the file in. Exploitation is further bounded to deployments where FFmpeg processes untrusted HLS input (media players, upload/transcoding pipelines, thumbnail generators) and to versions before 8.1.3; no authentication or special privileges are needed once the file is processed (PR:N). Impact is limited to denial of service (availability only) - no data disclosure or code execution.

Impact

This is a denial-of-service vulnerability with a moderate real-world priority, not a critical emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 7.1 and confirms the key limiting factor: UI:P means a victim must be induced to open a crafted playlist - this is NOT remote unauthenticated server-side exploitation despite the network attack vector. Impact is confined to availability (VA:H) with no confidentiality or integrity impact (VC:N/VI:N), consistent with an infinite loop (CWE-835) that burns CPU and I/O rather than achieving code execution. Signals are largely consistent: AC:L and PR:N indicate the trigger is trivial once a victim processes the file, and publicly available exploit code (POC=YES, VulnCheck gist) lowers the barrier to reproduction. However, this is NOT listed in CISA KEV and no EPSS score was provided in the input, so there is no evidence of active or widespread exploitation - POC availability must not be conflated with active exploitation. The net picture is a reliably-triggerable but interaction-gated DoS in an extremely widely-deployed library; prioritize patching where FFmpeg automatically ingests untrusted HLS playlists (media pipelines, transcoding services, thumbnailers), but treat it below RCE-class issues.

Exploit ScenarioDerived

An attacker crafts a malicious HLS Media Playlist that improperly contains Master Playlist tags creating a self-reference, then lures a victim into opening it (e.g., via a link, uploaded media file, or automated transcoding pipeline). When hls_read_header() calls parse_playlist(), the demuxer endlessly adds variants, pinning CPU and generating unbounded I/O until the process is killed. Publicly available exploit code exists (VulnCheck gist), making reproduction straightforward.

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

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

Alert me

AnalysisAIv1 – Oct 08, 2026

Infinite loop in FFmpeg's HLS demuxer (libavformat/hls.c) lets remote attackers pin CPU and I/O indefinitely on any host that feeds a crafted playlist to FFmpeg before version 8.1.3. A malicious Media Playlist that embeds Master Playlist tags causes parse_playlist()/hls_read_header() to keep registering self-referencing variants that never terminate. Exploitation is unauthenticated (PR:N) but requires a victim or automated pipeline to open the playlist (UI:P), impact is availability-only with no data disclosure or code execution, and publicly available exploit code exists; there is no confirmed active exploitation (CISA KEV) at time of analysis.

RemediationAI

Vendor-released patch: FFmpeg 8.1.3 - upgrade to 8.1.3 or later, or rebuild libavformat from upstream commits c364ab176f722bdabc886845e770c9eacbc1e3e5 / 0e6eef35517a / a4ddaba8bb78 (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23618) if distribution packaging lags; advisory details are at https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-hls-demuxer-infinite-loop-via-self-referencing-playlist. If patching is not immediately possible, the highest-value compensating control is to pre-validate untrusted HLS input and reject any Media Playlist that contains Master Playlist tags such as #EXT-X-STREAM-INF (the patched code treats this as AVERROR_INVALIDDATA) - the trade-off is that overly strict filtering can break legitimate or non-standard mixed playlists. Because the loop grows the in-memory variant list while blocking the demuxer, run FFmpeg on untrusted input inside a sandbox with hard wall-clock/CPU timeouts and memory caps (containers with CPU and memory quotas, cgroup limits, or ulimit -t/-v) so a stuck demuxer is killed rather than exhausting the host - the trade-off is that legitimate long-running transcodes may be terminated by the same limits. Also restrict where FFmpeg may fetch playlists (-protocol_whitelist, no arbitrary remote URLs, no local file references from remote playlists) and avoid processing attacker-controlled HLS in the same process or host as other critical services. No vendor-released fix version beyond the 8.1.3 line is identified in the available data.

Affected VersionsENISA

FFmpeg 0 <8.1.3

Affected Packages

euvd ffmpeg fix: 8.1.3

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

HLS (HTTP Live Streaming) distinguishes two playlist types: a Master Playlist carrying #EXT-X-STREAM-INF variant entries that point to Media Playlists, and Media Playlists carrying #EXTINF segment entries. In FFmpeg's HLS demuxer, libavformat/hls.c (see the n8.1.2 source around line 866), parse_playlist() did not enforce that distinction, so Master Playlist tags encountered while parsing a Media Playlist were accepted as new variants. An attacker supplies a Media Playlist containing master tags whose variant URL references the same playlist, so hls_read_header() repeatedly appends variants and re-parses in a self-referencing loop, producing unbounded CPU and I/O consumption - the CWE-835 (Loop with Unreachable Exit Condition) class. The upstream fix (commits c364ab176f722bdabc886845e770c9eacbc1e3e5, 0e6eef35517a, a4ddaba8bb78, PR 23618) adds a guard: if a master playlist tag is seen while parsing a media playlist (pls != NULL), it logs "Master Playlist tag found in a Media Playlist", sets AVERROR_INVALIDDATA and jumps to fail, terminating the parse. There is no memory corruption, privilege escalation, or information disclosure - the defect is a pure availability/resource-exhaustion issue, and the CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* confirms the flaw is tracked across the FFmpeg product line rather than a single build.

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

Remotely-supplied playlist (AV:N) triggers trivially (AC:L) without auth (PR:N) but a victim must open the file (UI:R); impact is availability-only DoS (A:H, C/I:N).

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 before 8.1.3 contains an infinite loop vulnerability in the HLS demuxer that allows remote attackers to cause denial of service because parse_playlist() accepts Master Playlist tags inside Media Playlists. Attackers can trick victims into opening a crafted self-referencing playlist that endlessly adds variants in hls_read_header(), causing unbounded CPU and I/O consumption.

Technical POC Analysis

The flaw is CWE-835 (Loop with Unreachable Exit Condition) in libavformat/hls.c, in the interaction between parseplaylist() and the initialization loop inside hlsreadheader() (lines 2175-2183 in rele…

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 prior to 8.1.3 contain a high-severity denial-of-service flaw in the HLS playlist parser that allows a crafted media playlist to drive affected systems into a non-terminating loop, exhausting CPU and I/O resources. Any team or automated pipeline that ingests externally supplied HLS playlists - including media processing, transcoding, streaming, and content-ingestion workflows - is exposed, and a single malformed file can stall or halt processing capacity without requiring credentials. Leadership should treat this as an availability risk to shared media infrastructure rather than a data-breach risk, since there is no evidence of code execution or data disclosure.

Business Impact: Medium
Compensating Controls

Apply vendor patch. Until patched, enforce hard CPU and wall-clock timeouts plus process supervision on FFmpeg invocations, reject or quarantine untrusted HLS playlists prior to parsing, and isolate media ingestion workloads so a stalled process cannot exhaust shared host resources.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded in countless media apps, servers, and pipelines
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.4%
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

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