CVE-2026-135744 in FFmpeg
Summary
by MITRE • 11/24/2026
FFmpeg before 9.1 contains an out-of-bounds read vulnerability in the lut1d filter in libavfilter/vf_lut3d.c that allows attackers to read heap memory by supplying planar high bit depth samples above the nominal depth. Attackers can craft 9, 10, 12 or 14 bit planar RGB video processed with a large 1D LUT to crash applications or disclose heap contents in output pixels.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability identified in FFmpeg versions prior to 9.1 represents a critical security flaw within the libavfilter component, specifically located in the lut3d.c source file which implements the lut1d filter functionality. This out-of-bounds read issue arises from an insufficient validation of input parameters related to video bit depth and planar data structures. When processing high-bit-depth samples that exceed the nominal or expected depth limits, the application fails to properly bound-check memory access operations. Consequently, this allows for arbitrary heap memory reads, which can lead to significant confidentiality breaches as sensitive information stored in adjacent memory regions may be exposed through the output pixels of processed video frames.
From a technical perspective, the root cause lies in how the filter handles planar RGB video data with bit depths such as 9, 10, 12, or 14 bits when subjected to large one-dimensional lookup tables. The logic governing memory indexing does not adequately account for edge cases where sample values surpass predefined thresholds, resulting in access beyond the allocated buffer boundaries. This type of flaw is characteristic of improper input validation and boundary checking errors commonly found in multimedia processing libraries that handle complex data formats. By crafting specific video inputs with these high bit-depth characteristics, an attacker can trigger the out-of-bounds read condition during the filtering process.
The operational impact of this vulnerability extends beyond simple application crashes to include potential information disclosure. An attacker leveraging this flaw could extract heap contents by analyzing the output pixels generated from maliciously crafted input files. This capability enables the exfiltration of sensitive data residing in memory, such as encryption keys, user credentials, or other proprietary information processed alongside the video stream. Furthermore, the instability introduced by accessing invalid memory locations can cause denial-of-service conditions through application crashes, disrupting services that rely on real-time video processing capabilities.
In terms of industry classification standards, this vulnerability aligns with CWE-125, which denotes Out-of-bounds Read, indicating a failure to verify array bounds before reading from them. Additionally, the exploitation technique relates to ATT&CK tactic T1005, specifically sub-technique Data from Local System, as it involves extracting data directly from memory without direct network exfiltration at the point of access. The scenario also reflects CWE-20, Improper Input Validation, highlighting the lack of rigorous checks on bit depth and sample values before processing.
To mitigate this risk, organizations utilizing FFmpeg must upgrade to version 9.1 or later where these boundary checking mechanisms have been corrected. For environments requiring immediate protection prior to patching, deploying input validation layers at the application perimeter can help filter out malformed video streams with excessive bit depths. Implementing strict limits on accepted frame parameters and monitoring for unusual memory access patterns in logging systems can also aid in detecting potential exploitation attempts. Regular security audits of multimedia processing pipelines are recommended to ensure compliance with secure coding practices that prevent similar buffer-related vulnerabilities.