Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135741: medium-severity vulnerability (CVSS 5.8) in FFmpeg FFmpeg.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
FFmpeg FFmpeg < 9.1
| Product | Versions | Fixed in |
|---|---|---|
| FFmpeg FFmpeg | < 9.1 | — |
| ffmpeg ffmpeg | < 9.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 — CVE Program
- https://github.com/FFmpeg/FFmpeg/commit/6b11ad5b5724806dbee653482088af4bf4dce97b — CVE Program
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c#L185 — CVE Program
- https://github.com/FFmpeg/FFmpeg — CVE Program
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-via-lut2-filter — CVE Program
Weaknesses (CWE): CWE-125
Relevant change history
Published
Preliminary advisory published.