CVE-2026-135737
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 h…
Impact
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 compute_histogram16() and apply_contrast_change16() index unclamped samples, crashing applications, corrupting the heap, and leaking heap contents.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (FFmpeg)
| Product | Affected versions |
|---|---|
| FFmpeg | before 9.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121
- https://github.com/FFmpeg/FFmpeg/commit/1e1e424bd8d7a50a8213da1e95a92f524e9b801d
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_tmidequalizer.c#L312
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-tmidequalizer-filter
- https://github.com/advisories/GHSA-mm4j-8862-hxxv
- https://nvd.nist.gov/vuln/detail/CVE-2026-135737