Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed zmq/azmq filter socket (port 5555)
-
ExploitSend ~4 GiB oversized command message
-
ExecutionInteger truncation of int buf_size
-
Impactmemcpy writes past heap allocation, crashes FFmpeg
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Numeric truncation prevention
|
| Exploitation Conditions | Exploitation requires the target FFmpeg instance to be running a filtergraph that explicitly includes the zmq or azmq filter, which binds a ZMQ REP socket (default tcp://*:5555) and accepts command messages without authentication; the attacker must have network reachability to that socket. The limiting factor is decisive: these filters are optional and off by default, so the vast majority of FFmpeg deployments are not exposed. When the filter IS enabled and reachable, no authentication, user interaction, or special privileges are needed (PR:N/UI:N), and the attacker must be able to deliver an approximately 4 GiB message to trigger the int truncation. Impact is limited to a crash/DoS of the FFmpeg process; no confidentiality or integrity impact is indicated by the CVSS vector or the patch. |
| Impact | The CVSS 4.0 base score of 8.7 is driven exclusively by availability (VA:H); confidentiality and integrity are rated N, so this is a denial-of-service (crash), not code execution or data exposure - the description and the patch diff both describe memory corruption that 'crashes FFmpeg.' The vector AV:N/AC:L/PR:N/UI:N implies trivial, unauthenticated, no-interaction remote exploitation, but that only holds once the optional zmq or azmq filter is explicitly enabled in the FFmpeg filtergraph and its ZMQ socket (default tcp port 5555) is reachable by the attacker - a non-default, uncommon deployment. No EPSS score was provided, so statistical exploitation probability cannot be weighed. The CVE is not in CISA KEV and no exploit/PoC reference is supplied, so there is no confirmed active exploitation. Net: high nominal severity but narrow real-world exposure and crash-only impact; the vuln.today decision label is 'this_week,' consistent with prioritized-but-not-emergency handling. Treat as a moderate-priority DoS to patch promptly where the zmq/azmq filters are actually used, not a widespread critical. |
| Exploit ScenarioDerived | An attacker who can reach an FFmpeg process that has the zmq or azmq filter enabled (listening by default on tcp port 5555, no authentication) sends an oversized command message of roughly 4 GiB. The size is stored in an int (buf_size), truncating the value so the subsequent memcpy writes past the undersized heap allocation, corrupting memory and crashing the process. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Denial of service in FFmpeg before 9.1 comes from an integer truncation in the optional zmq/azmq filters: an unauthenticated remote sender can deliver an approximately 4 GiB command message to the filter's ZeroMQ REP socket (default tcp://*:5555), causing memcpy() to write past a heap allocation and crash the FFmpeg process. Only deployments whose filtergraphs explicitly enable zmq or azmq and expose that socket are affected, because the filters are not enabled by default; the supplied CVSS 4.0 vector rates availability High with no confidentiality or integrity impact, and no public exploit or CISA KEV entry is identified at time of analysis.
RemediationAI
Vendor-released patch: FFmpeg 9.1 (the advisory describes versions before 9.1 as affected); the upstream fix is commit 78afb1d6e99ba2d3264f053ae4c0e4487a9c824c, which replaces the manual size calculation and memcpy in recv_msg() with av_strndup. Upgrade to 9.1 or later and consult https://www.vulncheck.com/advisories/ffmpeg-before-9.1-integer-truncation-via-zmq-filter-recv-msg. Because exposure requires the optional zmq or azmq filter to be present and its ZMQ socket reachable, verify filtergraphs for those filters and limit network access to the listening socket (default tcp/5555) where the filter must remain in use; these measures reduce exposure but the vendor fix removes the vulnerable code path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is in libavfilter/f_zmq.c, in recv_msg() used by the zmq and azmq filters, which receive commands over a ZeroMQ REP socket. CWE-197 (numeric truncation) applies: the message size returned by ZeroMQ is handled through an int-sized length, so a roughly 4 GiB command message truncates the value used for buffer allocation and the subsequent memcpy length, producing a heap buffer overflow. The upstream patch commit 78afb1d6e99ba2d3264f053ae4c0e4487a9c824c removes the int buffer-size parameter and replaces the manual av_malloc/memcpy path with av_strndup(zmq_msg_data(&msg), zmq_msg_size(&msg)). The CVSS vector includes PR:N and UI:N, so the attacker needs no authentication and no user interaction, but the affected filters are off by default and the socket must be reachable; impact per the assessed vector is availability only, and the trigger is an oversized command message as described in the advisory.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Reachable zmq socket needs no auth (PR:N/UI:N/AC:L) once the filter is enabled; impact is a crash only, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A high-severity denial-of-service vulnerability (CVE-2026-135742) in FFmpeg versions before 9.1 can crash media processing services when the optional ZeroMQ filter is enabled. Only organizations exposing that socket are at risk, but for those, a single unauthenticated message can disrupt streaming, transcoding, and other FFmpeg-dependent operations, affecting service availability and customer trust.
Apply vendor patch. As interim mitigation, restrict network access to the ZeroMQ socket or disable the zmq/azmq filters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-133607
GHSA-25vr-c4hm-7mch
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB