Skip to main content

FFmpeg CVE-2026-64830

| EUVDEUVD-2026-47747 HIGH
Out-of-bounds Write (CWE-787)
2026-07-22 VulnCheck GHSA-jphx-q7f7-4x8r
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious .sub/.idx with excess stream IDs
  2. Delivery
    Deliver file to victim or upload service
  3. Exploit
    Victim opens/pipeline parses via VobSub demuxer
  4. Execution
    ff_subtitles_queue_insert() writes past vobsub->q[] bound
  5. Persist
    Corrupt adjacent heap memory
  6. Impact
    Achieve arbitrary code execution in host app

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 application to parse an attacker-supplied VobSub subtitle input (.sub/.idx, or a container referencing one) through FFmpeg's VobSub demuxer, and the malicious file must declare more distinct stream IDs than the fixed-size vobsub->q[] array - that excessive-stream-ID condition is the concrete trigger. The CVSS vector is PR:N (no authentication needed) but UI:P, meaning a user or automated pipeline must actually open/process the file; this is the primary limiting factor along with the requirement that the VobSub demuxer be reachable/enabled. Reliable code execution (versus a crash) additionally depends on heap layout control and defeating platform mitigations such as ASLR/DEP, which is not guaranteed.

Impact

Signals are consistent and point to a genuinely serious but not yet urgent-in-the-wild issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:H/VI:H/VA:H, score 8.7) describes a network-reachable, low-complexity, unauthenticated bug whose only gating factor is passive user interaction - a victim must open or process a malicious subtitle/media file. There is no EPSS score, no KEV listing, and no confirmed public POC in the provided data, so exploitation is currently theoretical rather than observed; the RCE claim is 'potentially achieving arbitrary code execution', i.e. a memory-corruption primitive whose reliable weaponization (heap grooming, ASLR/DEP bypass) is non-trivial. The main risk driver is FFmpeg's enormous deployment footprint and the low barrier of the attack (just deliver a file), which historically makes media-parser overflows attractive. Net: treat as a high-priority patch due to reach and impact, but note there is no evidence of active or widespread exploitation yet - absence of EPSS/KEV data means real-world exploitation probability cannot be quantified from the input.

Exploit ScenarioDerived

An attacker crafts a malicious VobSub .idx/.sub pair (or a media file referencing one) that declares far more distinct stream IDs than vobsub->q[] can hold, then delivers it - as a download, email attachment, or upload to a server-side transcoding service. When a victim opens the file in a FFmpeg-based player or the backend processes it, ff_subtitles_queue_insert() writes past the array bound and corrupts the heap, which a skilled attacker can shape toward arbitrary code execution in the host application's context. No public POC is identified in the provided data, and the low AC with passive user interaction (UI:P) makes delivery straightforward.

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 – Jul 22, 2026

Heap buffer overflow (out-of-bounds write) in FFmpeg's VobSub subtitle demuxer lets an attacker corrupt adjacent heap memory and potentially achieve arbitrary code execution in any application that links FFmpeg's libavformat and processes a malicious .sub/.idx file. All releases from 2.1 through 8.1.2 are affected. A vendor patch exists (commit dbd495f) and the issue was reported by VulnCheck; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Upgrade to a FFmpeg release that includes the fix commit dbd495f066a85ba96b17433f4306582aa37c3951 (https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/dbd495f066a85ba96b17433f4306582aa37c3951); a patch is available from the vendor, but a specific tagged release version is not stated in the input, so verify the fixed tag from the FFmpeg PR (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23657) before deploying - released patched version not independently confirmed. Downstream products should rebuild against or pull the patched libavformat. Where immediate upgrade is impossible, apply compensating controls: disable or blocklist the VobSub demuxer (e.g. build with the vobsub demuxer disabled, or restrict allowed input formats to a whitelist that excludes .sub/.idx subtitle files) - trade-off is loss of VobSub subtitle support; and in server-side pipelines, refuse untrusted subtitle uploads and sandbox the transcoding process (seccomp/containerization) so an overflow cannot escalate. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/ffmpeg-heap-buffer-overflow-via-vobsub-subtitle-demuxer) for details.

Affected VersionsENISA

FFmpeg dbd495f066a85ba96b17433f4306582aa37c3951
FFmpeg 2.1 ≤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 defect lives in libavformat/mpeg.c, FFmpeg's MPEG-PS/VobSub handling code. VobSub subtitles ship as a paired .idx (index) and .sub (data) file, where the .idx declares subtitle stream IDs. The demuxer stores per-stream state in a fixed-size array (vobsub->q[]); when the input declares more distinct stream IDs than that array can hold, ff_subtitles_queue_insert() writes past the end of the allocation. This is a classic CWE-787 out-of-bounds write driven by attacker-controlled index/count values from an untrusted media container, the kind of memory-corruption primitive that can be leveraged from adjacent-heap overwrite toward control-flow hijack. Per CPE cpe:2.3:a:ffmpeg:ffmpeg:*, the flaw is in the upstream FFmpeg library itself, so it transitively affects the very large population of media players, transcoders, thumbnailers, and server-side pipelines that embed it.

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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-delivered malicious file, low complexity, no auth (PR:N), but requires the victim to open/process it (UI:R); memory corruption yields high C/I/A with no scope change.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
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 2.1 through 8.1.2 contains a heap buffer overflow vulnerability in the VobSub subtitle demuxer that allows attackers to corrupt adjacent heap memory by supplying a malicious .sub/.idx subtitle file declaring more distinct stream IDs than the fixed-size array bounds in libavformat/mpeg.c. Attackers can craft a subtitle file with excessive distinct stream IDs to trigger unbounded writes beyond the vobsub->q[] array boundary via ff_subtitles_queue_insert(), potentially achieving arbitrary code execution in any application using FFmpeg's VobSub demuxer.

Executive ViewAI

Why It Matters

A heap buffer overflow vulnerability in FFmpeg's VobSub subtitle demuxer (CVE-2026-64830, CVSS 8.7) affects all versions 2.1 through 8.1.2, exposing any application using FFmpeg to remote code execution when processing malicious subtitle files. Organizations must identify affected deployments and apply available patches immediately to prevent potential compromise.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 52% exploitable
Prevalence
Ubiquitous
FFmpeg underpins media processing across countless apps, servers, and OS distributions
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.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
No
Human Impact
High
Technical Impact
Total

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.

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: Important
Product Status
openSUSE Leap 16.0 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected

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