Heap Buffer Overflow in FFmpeg ZMQ and AZMQ Filters
CVE-2026-135742
8.7HIGH
What is CVE-2026-135742?
FFmpeg prior to version 9.1 is susceptible to a heap buffer overflow vulnerability located in the recv_msg() function of the zmq and azmq filters. This flaw permits unauthenticated network attackers to corrupt memory by dispatching oversized command messages, specifically up to 4 GiB. Exploiting this vulnerability can lead to memory corruption, causing FFmpeg to crash due to the int buffer size truncation that causes memcpy() to operate beyond the intended heap allocation.
Affected Version(s)
FFmpeg 0 < 9.1
References
CVSS V4
Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Michael Niedermayer
