CVE-2026-135742

Description

A flaw was found in FFmpeg. An unauthenticated remote attacker can exploit a heap-based buffer overflow in the zmq and azmq filters by sending oversized command messages over the network. This issue leads to memory corruption, allowing the attacker to cause a Denial of Service (DoS) by crashing the application.

Statement

This vulnerability is rated as Important because unauthenticated remote network actors can cause a denial of service crash without requiring user interaction or elevated privileges. In standard Red Hat product usage, FFmpeg processes media files locally, and this issue exclusively affects environments where interactive ZeroMQ filter controls are explicitly configured on exposed network endpoints. Workflows that do not instantiate the zmq or azmq filters or keep these interfaces isolated are not vulnerable to remote exploitation.

Mitigation

To mitigate this vulnerability, prevent untrusted network access to FFmpeg ZeroMQ control endpoints:

1. Avoid including the zmq or azmq filters in FFmpeg filtergraphs unless runtime command injection is strictly necessary.

2. If zmq filters are required, configure them to bind only to the loopback interface (such as tcp://127.0.0.1:5555) or an IPC socket rather than a publicly accessible network interface.

3. Restrict external network reachability to the ZeroMQ listening port (TCP port 5555 by default) by allowing traffic only from trusted management hosts using firewalld:

# firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="<TRUSTED_IP>" port port="5555" protocol="tcp" accept'
# firewall-cmd --reload

Caveat: Reloading the firewall configuration may briefly interrupt transient network traffic. Restricting access will prevent remote systems from issuing interactive filter commands to active FFmpeg processes.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.5N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.