CVE-2026-135742: FFmpeg before 9.1 Integer Truncation via zmq Filter recv_msg()
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in recvmsg() of the zmq and azmq filters that allows unauthenticated network attackers to corrupt memory by sending oversized command messages. Attackers can send a 4 GiB message to the default listening port, truncating the int buffer size so memcpy() writes past the heap allocation and crashes FFmpeg.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to remote attack?
Deployments using FFmpeg's zmq or azmq filters are exposed if they accept command messages on their listening interface. The issue can be reached remotely through the default listening port by an unauthenticated network attacker.
What does an attacker need to do to trigger the flaw?
An attacker needs network access to the filter's command listener and sends an oversized command message. A 4 GiB message causes the buffer size to be truncated before memcpy() writes beyond the heap allocation.
What is the expected impact of successful exploitation?
The described result is heap memory corruption that crashes FFmpeg, causing a denial of service. The provided information does not establish confidentiality or integrity impact.
What versions should be remediated?
FFmpeg versions before 9.1 are affected. Update to FFmpeg 9.1 or later.