CVE-2026-135734: FFmpeg before 9.1 Heap Out-of-Bounds Write via deflicker Filter Histogram
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in the deflicker filter that lets attackers corrupt heap memory via unclamped high bit depth luma samples. Attackers can supply crafted video whose luma values exceed the nominal depth, making calcavgy16() increment counters past the histogram allocation, causing crashes or possibly code execution.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
FFmpeg versions before 9.1 are affected when they process video through the deflicker filter. The issue is specifically in the filter's handling of high-bit-depth luma samples.
What does an attacker need to provide to trigger the issue?
An attacker needs to supply crafted video containing luma values above the nominal bit depth and have it processed by the deflicker filter. No attacker privileges are required, but user interaction is required.
What can be done before upgrading?
Avoid applying the deflicker filter to untrusted video until FFmpeg can be updated to version 9.1 or later. This prevents the vulnerable calc_avgy16() histogram-processing path from handling attacker-controlled luma values.
How can I determine whether an environment is affected?
Check whether the deployed FFmpeg version is earlier than 9.1 and whether workflows use the deflicker filter. Systems that do not process content through that filter are not using the described vulnerable path.