← News

Ffmpeg: Heap memory corruption

HighAI-generated2026-11-24

CVE
CVE-2026-135740
Severity
High (CVSS 7.8)
Attack conditions
With local access to the device · No account needed · A user must take some action
Exploitation probability (EPSS)
0.3% (within 30 days; FIRST EPSS, 29 November 2026)

Summary

FFmpeg versions prior to 9.1 are vulnerable to a heap out-of-bounds write. Crafted video files can corrupt memory and cause crashes or possibly allow code execution.

Details

According to the NVD record, FFmpeg before version 9.1 has a heap out-of-bounds write flaw in the libavfilter component. The problem occurs because the build_histogram() function fails to limit high-bit-depth luma samples to their maximum value.

An attacker can provide specially crafted 9, 10, 12 or 14-bit gray or YUV video streams. This can corrupt heap memory, leading to application crashes and, in some cases, may enable execution of arbitrary code.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 24 November 2026 This article was written
  • 24 November 2026 NVD record published