FFmpeg before 9.1 Heap Out-of-Bounds Read via lut2 Filter
- State
- Published
- Severity
- 5.8 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.8 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121Issue Tracker
- Patch CommitPatch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_lut2.c#L185Technical Details
- https://github.com/FFmpeg/FFmpegProduct Page
- VulnCheck Advisory: FFmpeg before 9.1 Heap Out-of-Bounds Read via lut2 FilterThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.