FFmpeg <=9.0.2 Heap Overflow in libavcodec qsvenc (Intel QSV)
CVE-2026-125235 Published on November 9, 2026

FFmpeg through 9.0.2 Heap Overflow via QSV Encoder submit_frame()
FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory.

NVD

Vulnerability Analysis

CVE-2026-125235 can be exploited with local system access. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Attack Vector:
LOCAL
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
PASSIVE

Weakness Type

Heap-based Buffer Overflow

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().


Products Associated with CVE-2026-125235

Want to know whenever a new CVE is published for FFmpeg? stack.watch will email you.

Affected Versions

FFmpeg: