CVE-2026-135742
7.5HighPublished Nov 24, 2026 · NVD status: Analyzed · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-197
What an attacker gets
Unauthenticated attackers can crash FFmpeg by sending an oversized ZMQ command message. This triggers a heap buffer overflow due to integer truncation.
Root cause
An integer truncation in the recv_msg function of the zmq and azmq filters leads to a heap buffer overflow during memory copy operations.
Affected versions
FFmpeg before 9.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade to FFmpeg 9.1 or later. If you cannot upgrade, disable the zmq and azmq filters in your FFmpeg configuration.
$ ffmpeg -versionAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in recv_msg() 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.
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26081Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavfilter/f_zmq.c#L138Patch
- https://github.com/FFmpeg/FFmpeg/commit/78afb1d6e99ba2d3264f053ae4c0e4487a9c824cPatch
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-truncation-via-zmq-filter-recv-msgThird Party Advisory
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1379077.8HighAttackers can execute arbitrary code or crash applications by providing crafted high-bit-depth media files. This requires a user to process a malicious PFM or OpenEXR image through the boxblur filter.
- CVE-2026-1357407.8HighAttackers can achieve code execution or crash the application by providing a malicious video file. This requires a user to process a crafted 9, 10, 12, or 14-bit gray or YUV video file using the affected filter.
- CVE-2026-1357347.8HighAttackers can execute arbitrary code or crash the system by providing a maliciously crafted video file. This requires a user to process the file using the vulnerable deflicker filter.
- CVE-2026-1357369.8CriticalRemote unauthenticated attackers can crash the process or potentially execute arbitrary code. This occurs when an attacker sends a malicious deband coupling command to the zmq filter.
- CVE-2026-1357377.8HighAttackers can crash applications, corrupt heap memory, or leak sensitive data by supplying a malicious video file. This requires a user to process a crafted high bit-depth video file using the tmidequalizer filter.
- CVE-2026-1357398.2HighRemote attackers can crash the FFmpeg process by sending malicious width or height commands. This requires the target to have the zmq or azmq filters enabled and reachable.