---
id: CVE-2026-125239
title: FFmpeg through 9.0.2 Heap Buffer Overflow via HEVC DXVA Tile Parameters
summary: >-
  FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in
  ff_dxva2_hevc_fill_picture_parameters() that allows attackers to corrupt
  memory via unbounded non-uniform tile counts. Attackers can supply crafted
  HEVC bitstreams wit…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T19:11:48.669Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125239'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25136'
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/dxva2_hevc.c#L151'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-hevc-dxva-tile-parameters
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Heap Buffer Overflow via HEVC
      DXVA Tile Parameters
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.582Z'
---

## Overview

FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_dxva2_hevc_fill_picture_parameters() that allows attackers to corrupt memory via unbounded non-uniform tile counts. Attackers can supply crafted HEVC bitstreams with many non-uniformly spaced tiles to write controlled 16-bit values past fixed-size DXVA arrays during DXVA2, D3D11VA, or D3D12VA decoding on Windows.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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