Description
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in vaapi_hevc_start_frame() in libavcodec/vaapi_hevc.c that copies unbounded PPS tile counts into fixed-size arrays. Attackers can supply a crafted HEVC bitstream with a large picture and many tiles to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory in applications decoding with VAAPI.
Published: 2026-11-09
Score: 7.3 High
EPSS: n/a
KEV: No
Impact: Memory Corruption
Action: Patch
AI Analysis

Impact

The vulnerability is a heap buffer overflow located in vaapi_hevc_start_frame() in libavcodec/vaapi_hevc.c of FFmpeg. It occurs when the decoder copies unbounded picture parameter set (PPS) tile counts into fixed‑size arrays, allowing an attacker to supply a crafted HEVC bitstream with many tiles. Overwrite beyond the allocated heap region results in corrupted memory within the application that uses VAAPI for decoding. This corruption can lead to crashes, data tampering, or, in the worst case, execution of attacker‑controlled code, compromising confidentiality, integrity, and availability of the host.

Affected Systems

FFmpeg, all releases through 9.0.2, including both the open‑source binary and the libavcodec components that perform VAAPI‑based HEVC decoding.

Risk and Exploitability

The CVSS score of 7.3 indicates a high severity risk. No EPSS score is available, so the current exploitation probability is uncertain, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by presenting a malicious media stream to a vulnerable application that performs HEVC decoding via VAAPI, typically through local or remote channels that supply the bitstream. The absence of checks on tile counts means the exploitation can succeed without privileged access, though successful exploitation may lead to remote code execution or denial of service depending on how the memory corruption is used.

Generated by OpenCVE AI on November 9, 2026 at 22:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0.3 or later, where the heap buffer overflow has been fixed.
  • If an upgrade is not immediately feasible, disable HEVC VAAPI tile decoding or disable hardware acceleration for HEVC inputs, reducing the attack surface.
  • Implement input validation or sandbox the decoding process, ensuring tile counts and other HEVC parameters are checked against expected limits to prevent obvious overflows.

Generated by OpenCVE AI on November 9, 2026 at 22:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in vaapi_hevc_start_frame() in libavcodec/vaapi_hevc.c that copies unbounded PPS tile counts into fixed-size arrays. Attackers can supply a crafted HEVC bitstream with a large picture and many tiles to write controlled 16-bit values past heap-allocated hwaccel data, corrupting memory in applications decoding with VAAPI.
Title FFmpeg through 9.0.2 Heap Buffer Overflow via HEVC VAAPI Tile Arrays
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-787
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:11:21.451Z

Reserved: 2026-11-09T18:15:12.554Z

Link: CVE-2026-125202

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:56.583

Modified: 2026-11-09T19:16:56.583

Link: CVE-2026-125202

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T22:45:07Z

Weaknesses