CVE-2026-135745
Summary
FFmpeg before 9.1 contains a heap out-of-bounds read vulnerability in the curves filter in libavfilter/vf_curves.c that allows attackers to read past lookup tables by supplying planar high bit depth samples exceeding the nominal depth. Attackers can craft video files with unmasked gbrp9 to gbrp14 samples passed through the rawvideo decoder to crash applications or leak heap contents into output video.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121 ↗
Additional information
- NVD record
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26121Patch
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/vf_curves.c#L823Patch
- https://github.com/FFmpeg/FFmpeg/commit/34dce120524ade7c97a2db19fc4703a4dc73d523Patch
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-heap-out-of-bounds-read-via-curves-filterAdvisory