CVE-2026-135745 in FFmpeginfo

Summary

by MITRE • 11/24/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified in FFmpeg versions prior to 9.1 represents a critical memory safety issue located within the libavfilter component, specifically affecting the curves filter implementation found in vf_curves.c. This flaw is classified as a heap out-of-bounds read, which corresponds to CWE-125 in the Common Weakness Enumeration standard. The root cause of this vulnerability lies in insufficient boundary checks when processing video frames that utilize planar high bit depth sample formats. Specifically, the filter fails to validate whether the input data exceeds its expected nominal depth limits before accessing lookup tables used for color space transformations and pixel manipulation. This lack of rigorous validation allows an attacker to craft malicious media files containing unmasked gbrp9 through gbrp14 samples that are processed by the rawvideo decoder. When these malformed inputs reach the curves filter, the application attempts to access memory addresses beyond the allocated heap boundaries associated with the lookup tables.

The operational impact of this vulnerability is significant for any system relying on FFmpeg for video processing, transcoding, or playback. Because the flaw permits reading past the intended buffer limits, it can lead to two primary adverse outcomes depending on how the leaked data is handled by the surrounding application logic. First, if the out-of-bounds read results in accessing invalid memory pages or triggers a segmentation fault during subsequent operations, it causes an immediate denial of service by crashing the host application. This stability issue affects both server-side processing pipelines and client-side media players that integrate FFmpeg libraries. Second, and more critically from a security perspective, the vulnerability allows for information disclosure. The attacker can potentially leak sensitive heap contents into the output video stream or other memory regions accessible to the process. In complex applications where heap data may contain cryptographic keys, user credentials, or private session tokens, this side-channel leakage could compromise overall system confidentiality and integrity.

From a threat modeling perspective aligned with the MITRE ATT&CK framework, this vulnerability facilitates reconnaissance activities by allowing an attacker to gather information about the target environment through memory content analysis. It also supports denial of service attacks against video processing services. The exploitation vector typically involves supplying crafted media files via file upload mechanisms or streaming inputs where the rawvideo decoder is invoked without strict format validation at the application layer. This aligns with techniques often observed in supply chain attacks or targeted campaigns aiming to destabilize multimedia infrastructure or extract sensitive data from memory-resident applications.

Mitigation strategies must prioritize immediate software updates and defensive coding practices. The most effective remediation is upgrading FFmpeg to version 9.1 or later, where the boundary checks for planar high bit depth samples have been corrected in vf_curves.c. For environments unable to upgrade immediately, implementing strict input validation at the application layer can provide a partial defense. This includes validating sample formats and bit depths before passing data to the FFmpeg filters, ensuring that only expected ranges are processed by the curves filter. Additionally, deploying runtime protection mechanisms such as Address Sanitizers during development or memory-safe wrappers in production environments can help detect and prevent out-of-bounds accesses. Security teams should also audit their media processing pipelines for similar patterns of unchecked input assumptions regarding bit depth and planar format specifications to preemptively address analogous weaknesses in other filters within the libavfilter suite.

Responsible

VulnCheck

Reservation

11/24/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00363

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!