Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted self-referencing HLS playlist
-
DeliveryVictim opens file in FFmpeg
-
Exploitparse_playlist() accepts Master tags in Media Playlist
-
Executionhls_read_header() loops adding variants endlessly
-
ImpactUnbounded 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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-95123
GHSA-wrmh-p2hh-7cf6
NVD
CVE.org
EPSS
VulDB
Exploit-DB