Описание
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.
A flaw was found in FFmpeg. An unauthenticated remote attacker can exploit a heap-based buffer overflow in the zmq and azmq filters by sending oversized command messages over the network. This issue leads to memory corruption, allowing the attacker to cause a Denial of Service (DoS) by crashing the application.
Отчет
This vulnerability is rated as Important because unauthenticated remote network actors can cause a denial of service crash without requiring user interaction or elevated privileges. In standard Red Hat product usage, FFmpeg processes media files locally, and this issue exclusively affects environments where interactive ZeroMQ filter controls are explicitly configured on exposed network endpoints. Workflows that do not instantiate the zmq or azmq filters or keep these interfaces isolated are not vulnerable to remote exploitation.
Меры по смягчению последствий
To mitigate this vulnerability, prevent untrusted network access to FFmpeg ZeroMQ control endpoints:
- Avoid including the zmq or azmq filters in FFmpeg filtergraphs unless runtime command injection is strictly necessary.
- If zmq filters are required, configure them to bind only to the loopback interface (such as tcp://127.0.0.1:5555) or an IPC socket rather than a publicly accessible network interface.
- Restrict external network reachability to the ZeroMQ listening port (TCP port 5555 by default) by allowing traffic only from trusted management hosts using firewalld:
firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="<TRUSTED_IP>" port port="5555" protocol="tcp" accept'
firewall-cmd --reload
Caveat: Reloading the firewall configuration may briefly interrupt transient network traffic. Restricting access will prevent remote systems from issuing interactive filter commands to active FFmpeg processes.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | ffmpeg | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-aws-cuda-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-cuda-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-azure-rocm-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gcp-cuda-rhel9 | Affected | ||
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-vllm-gaudi-rhel9 | Not affected |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
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.
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.
FFmpeg before 9.1 contains a heap buffer overflow vulnerability in rec ...
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.
Уязвимость функции recv_msg() сценария f_zmq.c библиотеки libavfilter мультимедийной библиотеки FFmpeg, позволяющая нарушителю вызвать отказ в обслуживании
EPSS
7.5 High
CVSS3