Skip to main content

FFmpeg dts2pts CVE-2026-125186

| EUVDEUVD-2026-120275 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-09 disclosure@vulncheck.com GHSA-j2c9-5fj2-993m
5.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft H.264 packet with many alternating-POC slices
  2. Exploit
    Deliver to victim FFmpeg dts2pts processing path
  3. Execution
    Force unbounded per-slice POC node allocation
  4. Impact
    Exhaust CPU denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
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 process attacker-supplied H.264 input through the dts2pts bitstream filter specifically - the vulnerable h264_queue_frame() allocation path in libavcodec/bsf/dts2pts.c. The concrete trigger is a crafted H.264 packet containing many slices with alternating picture order counts, which drives unbounded per-slice POC tree-node allocation. Limiting factors: the attack vector is local (AV:L) and depends on a victim actually feeding the crafted media through this non-default bitstream filter (UI:P / AT:P), and attack complexity is high (AC:H); no authentication is required (PR:N) but the attacker needs their input to reach the dts2pts processing stage. Impact is limited to availability (CPU exhaustion) with no data exposure or modification.

Impact

All signals converge on a moderate, availability-only issue rather than a top priority. The input CVSS 4.0 base score is 5.7 (medium) with vector AV:L/AC:H/AT:P/PR:N/UI:P and VA:H but VC:N/VI:N - i.e. pure CPU-exhaustion denial of service with no confidentiality or integrity impact. The local attack vector (AV:L), high attack complexity (AC:H), present attack requirements (AT:P), and passive user interaction (UI:P) all constrain exploitation: a victim must actually process attacker-supplied H.264 data through the dts2pts bitstream filter. No EPSS score was provided, the CVE is not listed in CISA KEV, and no public exploit was identified in the supplied references (which are the fix PR, the FFmpeg repo, the vulnerable source line, the fix commit, and a VulnCheck advisory). The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', consistent with a bounded DoS. Net assessment: a genuine but low-urgency defect - high raw prevalence of the FFmpeg product is offset by the non-default filter path and local, interaction-dependent trigger, so this is a patch-on-normal-cycle item, not a high-real-risk emergency despite FFmpeg's ubiquity.

Exploit ScenarioDerived

An attacker crafts an H.264 stream containing a single packet with many slices whose picture order counts alternate, then gets a victim to process it through FFmpeg with the dts2pts bitstream filter active. Each slice forces h264_queue_frame() to allocate an unbounded number of POC tree nodes, exhausting CPU and denying service to the media-processing pipeline. No public exploit was identified at time of analysis; the local vector and high complexity mean the attacker must deliver the malicious file into a workflow that reaches the affected filter.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

CPU exhaustion in FFmpeg through 9.0.2 occurs when crafted H.264 media is processed through the dts2pts bitstream filter: many slices with alternating picture order counts drive unbounded POC tree-node allocation in h264_queue_frame(), consuming CPU and denying service. The issue is local, high-complexity and availability-only (CVSS 4.0 score 5.7), with no public exploit identified at time of analysis. An upstream commit adds a guard that rejects packets containing more than two pictures.

RemediationAI

Apply the upstream fix commit d8013c061725631261d7326c07d2af3a67fa4bc1 (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569) or update to a release that includes it; a released patched version is not independently confirmed in the supplied data. Until then, avoid passing untrusted H.264 through the dts2pts bitstream filter and disable or remove that filter where it is not required, which prevents the vulnerable path but may break workflows that rely on dts2pts for PTS derivation on DTS-only streams. Running FFmpeg processing of untrusted media under CPU/resource limits can bound the availability impact, at the cost of possible degradation for legitimate transcodes. See the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-cpu-exhaustion-via-dts2pts-bitstream-filter and the source fix at https://github.com/FFmpeg/FFmpeg/commit/d8013c061725631261d7326c07d2af3a67fa4bc1.

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 dts2pts bitstream filter derives timing information for streams that need presentation timestamps reconstructed from decode timestamps, and the vulnerable path is in libavcodec/bsf/dts2pts.c. The flaw is CWE-770 (Allocation of Resources Without Limits or Throttling): h264_queue_frame() allocates POC tree nodes per slice, so a crafted H.264 packet with many slices and alternating picture order counts causes work and allocation to grow without a per-packet bound, exhausting CPU. The upstream fix in commit d8013c061725631261d7326c07d2af3a67fa4bc1 adds an nb_pictures counter in h264_filter and returns AVERROR_INVALIDDATA when more than two pictures appear in one packet, directly limiting the per-packet processing path. No authentication is required, but the attacker must get crafted media into the dts2pts processing stage; the supplied evidence does not describe any other exploitation route.

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

Local file-processing DoS: AV:L and UI:R because a victim must process a crafted H.264 stream through the dts2pts filter, AC:H for the specific alternating-POC slice crafting, and only availability is impacted.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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 uncontrolled resource consumption vulnerability in the dts2pts bitstream filter that allows attackers to exhaust CPU through unbounded per-packet POC node allocation. Attackers can supply a crafted H.264 packet with many slices of alternating picture order counts, forcing h264_queue_frame() to allocate tree nodes per slice and deny service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded in countless media pipelines, servers, and applications
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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 No
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

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