CVE-2026-135737: FFmpeg before 9.1 Heap Out-of-Bounds Write via tmidequalizer Filter
FFmpeg before 9.1 contains a heap out-of-bounds write and read vulnerability in the tmidequalizer filter that allows attackers to corrupt memory by supplying high bit depth samples exceeding the nominal maximum. Attackers can craft planar 9, 10, 12 or 14 bit video so computehistogram16() and applycontrastchange16() index unclamped samples, crashing applications, corrupting the heap, and leaking heap contents.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must be able to supply crafted planar 9-, 10-, 12-, or 14-bit video to an application that uses FFmpeg's tmidequalizer filter. Exploitation relies on samples whose values exceed the nominal maximum, causing unclamped array indexing in compute_histogram16() and apply_contrast_change16().
Are applications using other FFmpeg filters affected?
The available information identifies the vulnerable code specifically in the tmidequalizer filter. Exposure therefore depends on whether the application processes attacker-controlled high-bit-depth planar video through that filter.
What is the impact if exploitation succeeds?
The flaw can cause application crashes, heap corruption, and disclosure of heap contents. The supplied severity vector also indicates high potential impact to confidentiality, integrity, and availability.
How can I determine whether my deployment is affected?
Check whether the deployed FFmpeg version is earlier than 9.1 and whether the tmidequalizer filter is enabled or used in processing workflows. Systems that accept untrusted planar 9-, 10-, 12-, or 14-bit video for that filter are the relevant exposure cases.