CVE Catalog

CVE-2026-125202

HighCVSS 7.0
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Heap memory corruption can lead to crashes or potential code execution in applications decoding untrusted HEVC streams with VAAPI. Organizations using VAAPI acceleration are exposed.

Recommendation

Update FFmpeg to a version containing the fix (later than 9.0.2) and avoid decoding untrusted HEVC streams via VAAPI. Consider validating stream parameters before decoding.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS