CVE-2026-135704: FFmpeg before 9.1 Uninitialized Heap Memory Disclosure via MXG Demuxer
FFmpeg before 9.1 contains an information disclosure vulnerability in the MXG demuxer's mxgreadpacket() 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.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems that process attacker-controlled MXG files with an affected FFmpeg version are exposed. The risk is most relevant where MXG input is remuxed or otherwise processed into output that can reveal the resulting audio packet payload.
What does an attacker need to exploit it?
An attacker needs to provide a crafted MXG file that ends with a truncated APP13 marker segment declaring a large length. The vector is local and requires user interaction, according to the supplied CVSS vector.
Are default deployments affected?
The provided information does not identify any configuration prerequisite beyond using an FFmpeg version before 9.1 and processing the crafted MXG input. It does not state whether MXG demuxing is enabled or used by default in a particular deployment.
What can be done if upgrading is not immediately possible?
Do not process untrusted MXG files, particularly in workflows that remux input into output files. Restricting attacker control over MXG inputs reduces the opportunity to trigger disclosure.
How can I tell whether a system may be affected?
Check whether the installed FFmpeg version is earlier than 9.1 and whether it processes MXG files. A potentially affected workflow may emit unexpected heap-derived data as audio packet payload when given an MXG file with a truncated APP13 segment and a large declared length.