CVE-2026-135737
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 ↗
Additional information
- NVD record
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121Patch
- https://github.com/FFmpeg/FFmpeg/commit/1e1e424bd8d7a50a8213da1e95a92f524e9b801dPatch
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_tmidequalizer.c#L312
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-write-via-tmidequalizer-filterAdvisory