Skip to main content

FFmpeg EUVDEUVD-2026-133607

| CVE-2026-135742 HIGH
Numeric Truncation Error (CWE-197)
2026-11-24 VulnCheck GHSA-25vr-c4hm-7mch
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed zmq/azmq filter socket (port 5555)
  2. Exploit
    Send ~4 GiB oversized command message
  3. Execution
    Integer truncation of int buf_size
  4. Impact
    memcpy 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch. As interim mitigation, restrict network access to the ZeroMQ socket or disable the zmq/azmq filters.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Ubiquitous
FFmpeg ubiquitous, but vulnerable zmq/azmq filter rarely enabled or network-exposed
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy