CVE-2026-135741
Summary
FFmpeg before 9.1 contains a heap out-of-bounds read vulnerability in libavfilter/vf_lut2.c because the second input's pixel format is unrestricted when the output depth option is set. Attackers can supply crafted media such as monoblack BMP or PBM images to index beyond lookup tables, crashing applications or leaking heap contents into output video.
Impact & exploitability
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. 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/6b11ad5b5724806dbee653482088af4bf4dce97bPatch
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c#L185
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-via-lut2-filterAdvisory