Skip to main content

FFmpeg EUVDEUVD-2026-133628

| CVE-2026-135721 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-24 VulnCheck GHSA-m253-frqm-5cwf
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft Dirac/VC-2 unit with zero parse offset
  2. Delivery
    Deliver file to FFmpeg-backed service
  3. Exploit
    Remux through RTP vc2hq muxer
  4. Execution
    Parse pointer fails to advance
  5. Impact
    CPU consumed indefinitely, service denial

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 FFmpeg actually route attacker-influenced video through the RTP VC-2 HQ muxer path (ff_rtp_send_vc2hq in libavformat/rtpenc_vc2hq.c) - i.e. a workflow that remuxes Dirac/VC-2 content to RTP. The specific trigger is a Dirac data unit whose next-parse-offset is zero (or a unit smaller than DIRAC_DATA_UNIT_HEADER_SIZE), which the pre-9.1 loop fails to reject, leaving the parse pointer stationary. Limiting factors: the attack vector is LOCAL (AV:L), not network-reachable by default; passive user/operator interaction is required (UI:P) because the crafted stream must be submitted into this muxer; and the impact is confined to availability (CPU exhaustion / hang), with no data exposure or code execution. Deployments that never invoke the RTP VC-2 muxer are not exposed.

Impact

This is a moderate, availability-only issue (CWE-835 infinite loop / denial of service) rather than a top-priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) tells a consistent story: the vector is LOCAL, not network, impact is limited to availability (VA:H) with no confidentiality or integrity effect, and user/operator interaction is passive-but-required (UI:P) because a crafted file must be fed through FFmpeg's RTP VC-2 HQ muxer. PR:N means no authentication to the muxer itself, but AV:L plus UI:P substantially limit real-world reach - an attacker cannot trigger this directly over a network against a default install; something must remux attacker-supplied Dirac/VC-2 video to the RTP muxer. No EPSS score was provided in the input, there is no CISA KEV listing, and no confirmed public exploit - so exploitation-probability signals are absent rather than high. The vendor priority label is 'this_month' (not act_now/emergency), and a patch is available. Net: a real, patch-worthy defect for anyone running the specific RTP VC-2 code path, but a high-CVSS-but-low-real-risk profile for the vast majority of FFmpeg deployments that never touch this muxer. Note the 6.8 input score reflects CVSS 4.0 scoring of a local availability DoS, not a remotely weaponizable flaw.

Exploit ScenarioDerived

An application or service that uses FFmpeg to remux user-supplied video into RTP (specifically the VC-2 HQ / Dirac muxer) receives a crafted Dirac stream whose next-parse-offset field is zero. When FFmpeg processes it, the parsing pointer never advances and the process spins consuming CPU indefinitely, hanging that worker or service. No public exploit code is identified at time of analysis, though the fixing commit publicly reveals the exact triggering condition.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

CPU exhaustion in FFmpeg before 9.1: the RTP VC-2 HQ muxer (ff_rtp_send_vc2hq in libavformat/rtpenc_vc2hq.c) accepts a Dirac data unit whose next-parse offset is zero, so the parsing pointer never advances and the muxing thread spins indefinitely, hanging the process. Only workflows that actually remux crafted Dirac/VC-2 video into the RTP muxer are affected - the assessed vector is local (AV:L) with passive operator interaction (UI:P) required to feed the stream in - and impact is confined to availability, with no data exposure or code execution described. No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis; a vendor patch is available and the issue is rated for remediation this month rather than as an emergency.

RemediationAI

Upgrade to FFmpeg 9.1 or later, which contains upstream commit 7a4da23a852b88f2b29187a0c908dc0b911612f9 (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24916) hardening the loop guard in libavformat/rtpenc_vc2hq.c; the vendor advisory at https://www.vulncheck.com/advisories/ffmpeg-before-9.1-infinite-loop-via-ff-rtp-send-vc2hq-in-rtpenc-vc2hq-c confirms patch availability. Where upgrading immediately is not possible, the practical compensating control is to stop feeding untrusted Dirac/VC-2 content into the RTP muxer - deployments that never invoke the RTP VC-2 HQ packetizer are not exposed, so disabling or removing that output path in application code, wrapper scripts and service configurations eliminates the trigger, at the cost of losing RTP delivery for VC-2 streams. Running any process that does handle such content with CPU time limits and job timeouts bounds the hang if a malformed unit still reaches the muxer, though it does not fix the underlying loop and will still abort the affected job.

Affected VersionsENISA

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

The flaw is CWE-835 (loop with unreachable exit condition) in the RTP packetizer for SMPTE VC-2 / Dirac HQ video. ff_rtp_send_vc2hq() walks a frame as a sequence of Dirac data units inside a loop bounded by the end of the buffer; each iteration reads a parse code and a unit size from the unit header, using DIRAC_DATA_UNIT_HEADER_SIZE as the minimum header length. In the pre-9.1 code the loop condition was simply 'while (unit < end)' and the only size check was 'if (unit_size > end - unit)', so a header declaring a next-parse offset of zero - or any unit size below the header size - was accepted, the pointer did not move, and the loop re-parsed the same bytes forever. The upstream fix (commit 7a4da23a852b88f2b29187a0c908dc0b911612f9, PR 24916) changes the loop guard to 'end - unit >= DIRAC_DATA_UNIT_HEADER_SIZE' and rejects units where 'unit_size < DIRAC_DATA_UNIT_HEADER_SIZE || unit_size > end - unit', and consequently drops the redundant inner size guards before send_packet()/send_picture(). The CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* covers the whole FFmpeg product line, with the referenced vulnerable source being the n9.0.2 snapshot of libavformat/rtpenc_vc2hq.c; the concrete trigger described by the sources is a malformed Dirac data-unit header, and nothing in the available material suggests memory corruption, out-of-bounds access or attacker-controlled code execution.

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 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local muxer path fed a crafted file requires operator interaction (UI:R) but no auth (PR:N); impact is availability-only infinite loop, so C:N/I:N/A:H.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
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 9.1 contains an infinite loop vulnerability in ff_rtp_send_vc2hq() in libavformat/rtpenc_vc2hq.c that accepts a Dirac next parse offset of zero. Attackers can supply crafted Dirac/VC-2 video remuxed to the RTP muxer, causing the parsing pointer to never advance and consume CPU indefinitely.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
FFmpeg is a near-universal multimedia library across servers, apps, and distros
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
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