Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | < 9.1 |
Related Weaknesses (CWE)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c#L185Product
- https://github.com/FFmpeg/FFmpeg/commit/6b11ad5b5724806dbee653482088af4bf4dce97bPatch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-vThird Party Advisory
FAQ
What is CVE-2026-135741?
CVE-2026-135741 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 s...
How severe is CVE-2026-135741?
CVE-2026-135741 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-135741?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.