CVE-2026-135745: FFmpeg before 9.1 Heap Out-of-Bounds Read via curves filter
FFmpeg before 9.1 contains a heap out-of-bounds read vulnerability in the curves filter in libavfilter/vfcurves.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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are realistically exposed to this issue?
Applications using FFmpeg before 9.1 are exposed when they process attacker-controlled rawvideo carrying planar high-bit-depth GBR samples, specifically gbrp9 through gbrp14, through the curves filter. The issue can cause a crash or disclose heap contents in generated video output.
What must an attacker provide to trigger the vulnerability?
The attacker needs to supply a crafted video input with unmasked sample values that exceed the nominal bit depth. Those samples must be handled by the rawvideo decoder and passed through the curves filter.
Are ordinary video-processing workflows necessarily affected?
The provided information identifies the affected path as rawvideo decoding of gbrp9 to gbrp14 input followed by the curves filter. It does not establish that other pixel formats, decoders, or workflows are affected.
How can I determine whether an application may be affected?
Check whether it uses an FFmpeg version earlier than 9.1 and accepts or processes untrusted rawvideo input in gbrp9 through gbrp14 formats with the curves filter enabled. A crash during such processing or unexpected image data in output may indicate exploitation.