CVE-2026-135741
FFmpeg before 9.1 Heap Out-of-Bounds Read via lut2 Filter
Medium · 5.8Fix available
- CVSS
- 5.8
- EPSS
- 0.43% (p29)
- Published
- 2026-11-24
- Age
- 5d old
- Modified
- 2026-11-25
- Product
- FFmpeg FFmpeg
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
9.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | FFmpeg | >=0, <9.1 | 9.1 |
Sources
- NVD · first seen 5d ago · NVD terms of use
- OSV · first seen 5d ago · CC-BY 4.0
- CVE List · first seen 5d ago · CVE Terms of Use
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 issue-tracking
- https://github.com/FFmpeg/FFmpeg/commit/6b11ad5b5724806dbee653482088af4bf4dce97b patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c#L185 technical-description
- https://github.com/FFmpeg/FFmpeg product
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-via-lut2-filter third-party-advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135741.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-135741 advisory