CVE-2026-135704 FFmpeg before 9.1 Uninitialized Heap Memory Disclosure via MXG Demuxer

Published Updated

A crafted MXG file can make FFmpeg leak uninitialized heap memory into remuxed output, exposing sensitive data to attackers.

CVSS score

Medium

4.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
9.1
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-135704?

CVE-2026-135704 is a medium-severity information disclosure vulnerability in FFmpeg, published on 24 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-908

How severe is CVE-2026-135704?

CVE-2026-135704 scores 4.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
Low
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-135704?

1 open source package ship an affected version, including ffmpeg/ffmpeg. It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
ffmpeg/ffmpeg GitHub
pkg:github/ffmpeg/ffmpeg
All versions9.1
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedffmpeg:ffmpeg (9.1)

Products include FFmpeg.

CPE match criteria 1
CPE 2.3Versions
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*before 9.1

How do I fix CVE-2026-135704?

Upgrade ffmpeg/ffmpeg to 9.1 or later.

Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.

Is CVE-2026-135704 being exploited?

There is no known exploitation of CVE-2026-135704 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All FFmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-135704, ECHO-dfe2-c978-bdc3, GHSA-7c98-rcvh-jjmh, UBUNTU-CVE-2026-135704.

Is CVE-2026-135704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free