---
id: CVE-2026-125186
title: FFmpeg through 9.0.2 CPU Exhaustion via dts2pts Bitstream Filter
summary: >-
  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 …
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-770
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T21:02:44.690664Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:57.655Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125186'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25569'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/d8013c061725631261d7326c07d2af3a67fa4bc1
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bsf/dts2pts.c#L363'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-cpu-exhaustion-via-dts2pts-bitstream-filter
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 CPU Exhaustion via dts2pts
      Bitstream Filter
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.607Z'
---

## Overview

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.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
