home / blog

2026-11-25 · medium

CVE-2026-135741: Heap Out-of-Bounds Vulnerability in FFmpeg

Heap out-of-bounds vulnerability in FFmpeg allowing app crashes or heap content leaks. CVE-2026-135741 - CVSS 5.3

CVE-2026-135741: Heap Out-of-Bounds Vulnerability in FFmpeg

CVE-2026-135741 is a heap out-of-bounds read vulnerability in libavfilter/vf_lut2.c of FFmpeg, present in versions prior to 9.1. The vulnerability is caused by the fact that when the output depth option is set, the pixel format of the second input is unrestricted, allowing attackers to supply crafted media such as monoblack BMP or PBM images to index beyond lookup tables, resulting in application crashes or heap contents leaking into the output video.

The vulnerability has a CVSS score of 5.3, classified as medium. It was officially published in NVD on 2026-11-24, and there are already reports on GitHub indicating the existence of exploits. While publicly active exploits have not been confirmed, the nature of the affected software (FFmpeg) and the potential ease of exploitation require immediate attention.

In defense, it is crucial to promptly apply the update to FFmpeg version 9.1 or later. For instances that cannot be immediately updated, it is recommended to implement mitigations such as blocking the processing of suspicious media files or using sandboxing to isolate video processing operations. It is also essential to monitor systems for any attempts at exploitation and implement strict input controls for media files.

At a glance

What
Heap out-of-bounds read vulnerability in libavfilter/vf_lut2.c of FFmpeg, caused by unrestricted pixel format on the second input when the output depth option is set.
Severity
Medium (CVSS 5.3)
Affected versions
FFmpeg prior to 9.1
Fix
Update to FFmpeg 9.1 or later
Status
Officially published in NVD on 2026-11-24
Action
Apply the patch or implement temporary mitigations

Sources: NVD, CVE-2026-135741

← All articles