FFmpeg 9.1 Patch Addresses Critical ZMQ Filter Heap Overflow

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
FFmpeg 9.1 Patch Addresses Critical ZMQ Filter Heap Overflow
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A high-severity vulnerability, CVE-2026-135742, has been identified in FFmpeg versions prior to 9.1, affecting the zmq and azmq filters. The flaw involves an integer truncation error in the recv_msg() function, allowing unauthenticated network attackers to trigger a heap buffer overflow by sending oversized command messages. This can lead to memory corruption and application crashes. The issue has been resolved in FFmpeg 9.1.

Key points

  • CVE-2026-135742 affects FFmpeg versions earlier than 9.1, specifically targeting the zmq and azmq filters.
  • The vulnerability stems from an integer truncation error in the recv_msg() function, classified as CWE-197 (Numeric Truncation Error).
  • Unauthenticated attackers can exploit this flaw by sending a 4 GiB message to the default listening port, causing the int buffer size to truncate and leading to a heap buffer overflow via memcpy().
  • The flaw results in memory corruption and application crashes, with a CVSS 3.1 score of 7.5 (High) and a CVSS 4.0 score of 8.7 (High).
  • The vulnerability has been patched in FFmpeg 9.1, with references to the fix available in the FFmpeg GitHub repository.

Background

This vulnerability follows recent security issues in FFmpeg, including CVE-2026-135708, which allowed arbitrary file truncation via the WHIP muxer in versions 8.0 through 9.0, and CVE-2026-135712, an integer overflow in the image encoder affecting versions prior to 9.1. Both previous issues were also resolved in FFmpeg 9.1, indicating a series of security patches released for this version.

Why it matters

The high severity of CVE-2026-135742, with a CVSS score of 7.5, underscores the critical nature of the vulnerability, which can be exploited by unauthenticated attackers to cause memory corruption and application crashes. The availability of a patch in FFmpeg 9.1 is crucial for users to mitigate this risk and ensure the stability and security of their systems.

What to watch

Users of FFmpeg versions prior to 9.1 should upgrade to version 9.1 to mitigate the risk of CVE-2026-135742. Monitoring for any further security advisories or patches related to FFmpeg is recommended to stay informed about potential vulnerabilities.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar