home / blog

2026-11-24 · medium

CVE-2026-135745: Out-of-Bounds Read Vulnerability in FFmpeg

Heap out-of-bounds vulnerability in FFmpeg < 9.1 curves filter. CVSS 6.1. Update to version 9.1.

CVE-2026-135745: Out-of-Bounds Read Vulnerability in FFmpeg

CVE-2026-135745 involves an out-of-bounds read vulnerability in the heap within the FFmpeg curves filter in versions < 9.1. The error occurs in libavfilter/vf_curves.c where the code does not properly handle planar high bit depth samples exceeding the nominal depth, allowing reads beyond lookup tables.

The vulnerability has a CVSS score of 6.1, classified as 'medium' by the NVD. Signals on GitHub indicate a similar vulnerability was identified where the curves graph LUT sizes are limited to 256 entries even in 16-bit mode, potentially causing application crashes or heap content leaks into output videos.

Defenders should immediately apply the update to FFmpeg version 9.1 or higher. For environments where an immediate update is not possible, consider mitigations such as filtering incoming video files to avoid processing unmasked high-depth samples. Verify dependencies in other software that might use FFmpeg.

At a glance

What
Heap out-of-bounds read vulnerability in the curves filter in FFmpeg < 9.1
Severity
Medium (CVSS 6.1)
Affected versions
FFmpeg versions before 9.1
Fix
Update to FFmpeg version 9.1 or later
Status
Published on November 24, 2026
Action
Apply patch or update to version 9.1

Sources: NVD, CVE-2026-135745

← All articles