On this page (7 sections)

A critical memory-safety flaw, CVE-2026-135736, has been published for FFmpeg's deband video filter. According to the GitHub Advisory Database entry, FFmpeg 4.4 before 9.1 contains a heap out-of-bounds read and write in libavfilter/vf_deband.c that can corrupt heap memory, crash the process or potentially allow code execution.

If your website or application runs FFmpeg to transcode uploads, generate thumbnails or process video on a server, and any part of that setup passes runtime commands into filters, this deserves attention. Sites that only embed finished videos and never run FFmpeg are not affected.

What happened

The flaw sits in the deband filter, which reduces visible color banding in video. FFmpeg filters can accept commands while a job is running. The CVE description says an attacker can send a coupling command to this filter through the sendcmd filter or through an unauthenticated zmq filter. This makes chroma planes get processed using luma dimensions, which breaks the assumptions about buffer sizes and leads to reads and writes outside the allocated heap memory.

The advisory text states the result as a crash or, potentially, code execution. It does not describe a working exploit, and the research contains no report of attacks in the wild. The GitHub entry is marked unreviewed, and the NVD record repeats the same description rather than adding independent confirmation.

Technical details in plain terms

Video frames store brightness (luma) and color (chroma) in separate planes. In common pixel formats such as 4:2:0, the chroma planes are smaller than the luma plane. The deband filter has a coupling option that links the processing of the planes. If coupling is switched on while the video uses chroma subsampling, the filter treats the smaller chroma planes as if they had the full luma size. The code then walks past the end of those buffers. That is a classic heap out-of-bounds read and write, classified as CWE-787.

The upstream fix commit adds a check in the filter's command handler. After a command is processed, if coupling is enabled and the pixel format has chroma subsampling, the filter now logs the error "coupling needs a pixel format without chroma subsampling", turns coupling back off and returns an invalid-argument error instead of reconfiguring. There is also a pull request on the project's code host, but its page did not load for our research, so we rely on the commit itself.

The CVSS v4 vector in the advisory lists a network attack vector, high attack complexity, present attack requirements, no privileges and no user interaction, with high impact on confidentiality, integrity and availability. In practice the network exposure depends entirely on whether something reachable from outside can feed commands to a running FFmpeg process.

Who is realistically exposed

The attack needs a way to deliver runtime commands to the deband filter. That narrows the exposed population considerably.

  • Services that run long-lived FFmpeg processes with the zmq filter listening on a network address, especially without authentication or network restrictions.
  • Pipelines that use the sendcmd filter with command files or strings that users or other systems can influence.
  • Live streaming, video-on-demand and media tooling that wraps FFmpeg and exposes filter control to a dashboard or API.
  • Containers and appliances that bundle an FFmpeg build in the affected range, where the version is easy to overlook.

A plain one-shot command such as converting an uploaded file with a fixed filter chain does not accept commands mid-run, so it is much less likely to be reachable this way. The research does not say otherwise, but this follows from how the attack is described. Treat it as a reasoned assessment, not a vendor statement.

The GitHub advisory lists affected and patched versions as unknown and has no package listed. The range "4.4 before 9.1" comes from the CVE description. Check your distribution's own security tracker for backported fixes before assuming a version number tells the full story.

How to check your exposure

First find out which FFmpeg builds you run. This command prints the version of the ffmpeg binary found on the PATH; compare it against the range 4.4 up to before 9.1.

Print the FFmpeg version (any Linux or macOS host)Shell
ffmpeg -version | head -n 1

On Debian or Ubuntu, this lists installed FFmpeg packages and their versions. Note that distributions may backport fixes without changing the upstream version number.

List installed FFmpeg packages (Debian/Ubuntu)Shell
dpkg -l | grep -i ffmpeg

On RHEL and compatible systems, the equivalent query is:

List installed FFmpeg packages (RHEL, Rocky, Alma, Fedora)Shell
rpm -qa | grep -i ffmpeg

Then check how FFmpeg is used. This read-only search looks through a project directory for filter names that matter here. Any hit means a pipeline that may accept runtime commands and should be reviewed.

Search scripts and configs for the relevant filters (run in your project or deploy directory)Shell
grep -rniE 'zmq|sendcmd|deband' .

Also look for FFmpeg binaries inside container images, vendored directories and application bundles, since these are not updated by your system package manager.

What to do now

  1. Inventory every place FFmpeg runs: servers, containers, CI runners, media appliances and any application that bundles its own binary.
  2. Upgrade to FFmpeg 9.1 or later, or to your distribution's package that includes the fix for CVE-2026-135736. Confirm the fix with your vendor's security tracker.
  3. If you build FFmpeg from source and cannot move to 9.1 yet, review whether the upstream fix commit 24ad423 can be applied to your tree and rebuild.
  4. Until patched, disable the zmq filter and sendcmd-based command delivery on any pipeline that does not need runtime control.
  5. If you must keep zmq, bind it to localhost or a private interface only and block it with firewall rules from untrusted networks. The research describes the zmq path as unauthenticated.
  6. Do not let user-supplied input become filter commands or command files.
  7. Run FFmpeg workers with least privilege, in a container or sandbox, with no access to secrets, so a crash or memory corruption has limited reach.
  8. Restart long-running FFmpeg workers after upgrading so the old binary is no longer in memory.
Caution. Restarting transcoding workers interrupts running jobs and live streams. Drain the queue or schedule a maintenance window first, and test the new version on a sample of your real content, since filter behavior can change between major releases.

Detection and monitoring afterwards

No indicators of compromise are published in the research, so detection is about spotting abnormal behavior rather than known signatures.

  • Watch for repeated FFmpeg crashes or segmentation faults in system logs and job queues, particularly in pipelines using deband.
  • After patching, a rejected command now produces the log line "coupling needs a pixel format without chroma subsampling". Seeing it can indicate someone, or something, is sending unexpected filter commands.
  • Alert on connections to the zmq port from addresses that are not your own control services.
  • Monitor worker hosts for unexpected child processes, outbound connections or changes to files, which could follow a successful memory-corruption attack.

If your FFmpeg-backed features sit behind a public website, a website firewall can help limit what untrusted visitors reach, and monitoring can alert you to unexpected changes in uptime or certificates. Neither replaces upgrading the FFmpeg build itself. For wider hygiene on servers you manage, see our small business website security guide.

Timeline

Publication details from the research
DateEvent
Nov 24, 2026CVE-2026-135736 published by NVD and added to the GitHub Advisory Database, marked critical, CVSS 9.2
Nov 24, 2026GitHub advisory last updated the same day; still unreviewed, with affected and patched versions listed as unknown
Date not stated in researchUpstream fix commit 24ad423 adds a chroma subsampling check to the deband command handler

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-135736 - GitHub Advisory Databasegithub.com
  2. avfilter/vf_deband: reject the coupling command for subsampled formats · FFmpeg/FFmpeg@24ad423github.com
  3. CVE-2026-135736: FFmpeg 4.4 before 9.1 contains a heap out-of-bounds read and write vulnerability in libavfilter/vf_deband.c that allows attackers to corrupt heap memory by…nvd.nist.gov ·
  • FFmpeg
  • CVE-2026-135736
  • heap overflow
  • video processing
  • patching