Skip to main content

FFmpeg CVE-2026-65705

| EUVDEUVD-2026-48372 HIGH
Out-of-bounds Write (CWE-787)
2026-07-23 VulnCheck GHSA-gf7r-r5xq-r3hm
7.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft video with increasing frame dimensions
  2. Delivery
    Deliver media to FFmpeg floodfill pipeline (-reinit_filter 0)
  3. Exploit
    Larger frame overflows traversal stack in filter_frame()
  4. Execution
    Corrupt heap memory beyond allocation
  5. Impact
    Crash process or achieve code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to run the FFmpeg vf_floodfill filter with filtergraph reinitialization explicitly disabled via the -reinit_filter 0 option - a non-default configuration - and to process a dynamically sized video stream in which a frame larger than the initial frame arrives after config_input() has fixed the traversal stack size. The attacker must get the victim to process attacker-supplied media (CVSS UI:P passive interaction), and the attack is local (AV:L), not remote/network-triggered. Limiting factors: the -reinit_filter 0 setting is not the default (normal reinitialization prevents the overflow), the floodfill filter must be present in the filtergraph, and the input must actually change dimensions upward; PR:N means no authentication is needed once the victim processes the file. These constraints substantially narrow real-world exposure below what the raw score alone implies.

Impact

The provided CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H) scores 7.3 and tells a consistent story of meaningful-but-constrained risk: exploitation is local (the attacker supplies a file rather than reaching the process over a network), requires no privileges, but depends on both a passive user interaction (processing the media) and an attack requirement (AT:P) - here the non-default -reinit_filter 0 setting combined with a size-changing stream. There is no CISA KEV listing and no public exploit was identified at time of analysis, so this is not confirmed actively exploited; the high VC/VI/VA impact reflects potential code execution, but the description confirms only reliable heap corruption and crash, with true RCE contingent on heap layout and hardening. Net: a real memory-safety bug worth patching, but the non-default configuration requirement and local/UI vector make it a lower operational priority than a remote unauthenticated RCE with the same CVSS. No EPSS score or SSVC decision data was provided, which limits automated prioritization confidence.

Exploit ScenarioDerived

An attacker crafts a video file whose stream begins with small frame dimensions and later switches to larger dimensions, then delivers it to a victim or service that transcodes it through an FFmpeg filtergraph using the floodfill filter with -reinit_filter 0. When the larger frame reaches filter_frame(), neighbor pushes overflow the undersized traversal stack, corrupting the heap and crashing the process, with potential for code execution depending on heap layout. No public exploit was identified at time of analysis, and the local vector with passive user interaction means the attacker relies on the target choosing to process the malicious media.

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

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Out-of-bounds heap write in FFmpeg's vf_floodfill video filter (versions 3.4 through 8.1.2) lets an attacker corrupt heap memory by feeding a specially crafted, dynamically sized video stream to a filtergraph where reinitialization is disabled via -reinit_filter 0. Reported by VulnCheck with a vendor patch available and no public exploit identified at time of analysis, the flaw reliably crashes the process and carries potential for code execution depending on heap layout and process hardening. Exploitation is local and requires the victim to process attacker-supplied media through the specific floodfill configuration.

RemediationAI

Patch available per vendor advisory: apply the upstream FFmpeg fix committed at https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/f186c50cf53aec20e9a29059cb22ca3f2d59201c (merged via PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23780) and rebuild or upgrade to a release that incorporates it; a released patched version number was not independently confirmed from the provided data, so verify the fixed tag against the VulnCheck advisory before deploying. As a compensating control until patched, avoid using -reinit_filter 0 together with the floodfill filter so FFmpeg's normal filtergraph reinitialization re-sizes the traversal stack on frame-geometry changes - the trade-off is a minor reinitialization cost when input dimensions vary. Where the floodfill filter is not needed, remove it from filtergraphs entirely, and process untrusted media in a sandboxed or resource-limited context to contain any heap corruption.

Affected VersionsENISA

FFmpeg patch: f186c50cf53aec20e9a29059cb22ca3f2d59201c
FFmpeg 3.4 ≤8.1.2

Affected Packages

euvd ffmpeg no fix

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 vulnerability lives in libavfilter's vf_floodfill filter, which implements a flood-fill operation by maintaining a stack of pixel points to traverse. During config_input() the traversal stack is sized once based on the dimensions of the initial frame. Normally FFmpeg reinitializes filters when frame geometry changes, but with -reinit_filter 0 this safety reinitialization is suppressed, so a subsequent larger frame is processed against a stack allocation sized for the smaller original frame. filter_frame() then pushes flood-fill neighbor coordinates past the end of that allocation, producing the CWE-787 out-of-bounds write. The affected component is the FFmpeg multimedia framework itself (cpe:2.3:a:ffmpeg:ffmpeg), the near-universal library and CLI used for transcoding and video processing across countless applications and pipelines.

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 7.3 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.0 HIGH

Local file-processing vector (AV:L) with victim interaction (UI:R); AC:H reflects the required non-default -reinit_filter 0 plus an upward frame-size change; impacts high given potential code execution.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vf_floodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinit_filter 0. When config_input() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filter_frame() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.

Executive ViewAI

Why It Matters

FFmpeg versions 3.4 through 8.1.2 contain a memory corruption vulnerability in the vf_floodfill filter that crashes media processing services and enables potential code execution when processing specially crafted video files. Organizations operating FFmpeg for transcoding, streaming, or media analysis face service disruption and confidentiality breach risks, particularly if pipelines ingest user-supplied or untrusted content. Immediate patching is required to eliminate this attack vector in production environments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Ubiquitous
core multimedia library embedded across countless apps and pipelines
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.1%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

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