FFmpeg before 9.1 contains a heap out-of-bounds read vulnerability in libavfilter/vf_lut2.c because the second input's
Source GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 9.1 when convenient.
Data as of 24 Nov 2026, 07:41 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.3 |
- Patch
- Available – fixed in 9.1
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade FFmpeg to 9.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in
|
GitHubFFmpegpkg:github/FFmpegOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since the vulnerability affects FFmpeg versions before 9.1, upgrading to version 9.1 or later is recommended if available. Otherwise, monitor vendor advisories for official fixes. Avoid processing untrusted media files with vulnerable FFmpeg versions to reduce risk.
Description
FFmpeg versions prior to 9.1 have a heap out-of-bounds read vulnerability in the libavfilter/vf_lut2.c component. This occurs because the pixel format of the second input is not properly restricted when the output depth option is set. Crafted media files such as monoblack BMP or PBM images can exploit this flaw to cause application crashes or leak heap memory contents into the output video.
References
- nvd.nist.gov/vuln/detail/CVE-2026-135741 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/6b11ad5b5724806dbee653482088af4bf4dce97b (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-via-lut2-filter (opens in a new tab)