Skip to main content

FFmpeg CVE-2026-135704

| EUVDEUVD-2026-133645 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-11-24 VulnCheck GHSA-7c98-rcvh-jjmh
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft MXG file with truncated APP13 segment
  2. Delivery
    Victim or pipeline remuxes file with FFmpeg
  3. Exploit
    Oversized declared length triggers uninitialized heap read
  4. Execution
    Heap contents emitted into output audio packet
  5. Impact
    Attacker recovers leaked memory from output

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires a victim, service, or automated pipeline to process an attacker-controlled MXG file through FFmpeg's MXG demuxer (e.g., during remux or transcode), per UI:P in the CVSS vector. The specific trigger is an MXG input whose trailing APP13 marker segment is truncated but declares a large length, so mxg_read_packet() reads beyond the cached bytes and emits uninitialized heap as the audio packet payload. Limiting factors: the attack vector is local/file-based (AV:L) rather than network-remote, it needs the user or pipeline to actually ingest the malicious file, and impact is confined to disclosure of uninitialized heap memory (VC:L) with no integrity or availability effect - the attacker must also be able to retrieve the resulting output to read the leaked data. Fixed in FFmpeg 9.1; updating is the remediation indicated by the evidence.

Impact

This is a medium-severity, low-urgency issue rather than a top priority. The vendor CVSS 4.0 base score is 4.8, driven by a local attack vector (AV:L), low attack complexity (AC:L), no privileges (PR:N), but required user interaction (UI:P) and only low confidentiality impact to the vulnerable system (VC:L) with no integrity or availability impact (VI:N/VA:N). The practical risk is that a victim must be induced to process an attacker-supplied MXG file with FFmpeg, so this is not a remotely-triggerable server compromise. No EPSS score, KEV listing, or SSVC automatable/technical-impact fields were supplied in the input, so exploitation-probability signals cannot be weighed; absence of these is not evidence of safety but also does not elevate priority. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with a memory-disclosure bug limited to leaking uninitialized heap contents. There are no conflicting signals: the local vector and user-interaction requirement in the CVSS vector align with the description's file-processing trigger. The main caveat is that leaked heap memory could contain sensitive data if FFmpeg is processing untrusted input in a pipeline that exposes or redistributes the remuxed output, which raises impact in multi-tenant or media-processing-service contexts.

Exploit ScenarioDerived

An attacker crafts an MXG file that ends in a truncated APP13 marker segment declaring a large length, then gets a victim or automated media pipeline to remux or transcode it with FFmpeg (before 9.1). Because the declared segment length exceeds the cached data, FFmpeg emits uninitialized heap memory as the audio packet payload, so previously-freed or adjacent heap contents are written into the output file and can be read back by the attacker. No public working exploit was identified in the provided data, though the fixing commit and a VulnCheck advisory describe the mechanism.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

FFmpeg before 9.1 leaks uninitialized heap memory when the MXG demuxer processes a crafted file whose trailing APP13 marker segment is truncated but declares a large length; the uninitialized bytes are emitted as audio packet payload and can appear in remuxed or transcoded output. The issue is local and file-based, requires a user or automated pipeline to ingest the malicious MXG, is limited to confidentiality impact, and the attacker must be able to retrieve the output to read the leaked bytes. No public exploit was identified at the time of analysis, and this is a medium-severity, low-urgency issue rather than a top priority.

RemediationAI

Upgrade to FFmpeg 9.1 or later; the vendor patch is commit e0941f6abba868eff5cdad37eef422342c520e63 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24914), with the advisory at https://www.vulncheck.com/advisories/ffmpeg-before-9.1-uninitialized-heap-memory-disclosure-via-mxg-demuxer. The evidence indicates that updating is the remediation; no vendor-specified workaround is provided. Because exploitation requires processing an attacker-controlled MXG file, avoiding untrusted MXG inputs until the upgrade is applied would reduce exposure, but that is not stated as a vendor mitigation.

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 FFmpeg's libavformat MXG demuxer, specifically mxg_read_packet() in libavformat/mxg.c, and is classified as CWE-908 (Use of Uninitialized Resource). A crafted MXG whose final APP13 marker segment is truncated but carries a large declared length causes the function to read beyond the cached bytes and use uninitialized heap memory as the audio packet payload; the patch at commit e0941f6abba868eff5cdad37eef422342c520e63 adds a guard that returns AVERROR_EOF when mxg->cache_size < size. The affected CPE is cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*, and the referenced vulnerable source is n9.0.2 line 203. The supplied CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N with a 4.8 base score, reflecting local file processing, user interaction, and confidentiality-only impact.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Triggered by processing an attacker-supplied file (AV:L, UI:R) with no privileges, leaking uninitialized heap so only low confidentiality impact (C:L) and no integrity/availability effect.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 3.3 LOW

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FFmpeg before 9.1 contains an information disclosure vulnerability in the MXG demuxer's mxg_read_packet() that allows attackers to leak uninitialized heap memory through truncated marker segments. Attackers can supply a crafted MXG file ending in a truncated APP13 segment with a large declared length, causing uninitialized heap contents to be emitted as audio packet payload, for example into remuxed output files.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is embedded in countless media pipelines, servers, and applications
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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

Vendor StatusVendor

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