CVE-2026-135723: FFmpeg before 9.1 Double Free in IMF CPL Parser fill_marker()
FFmpeg before 9.1 contains a double free vulnerability in the fillmarker() function of libavformat/imfcpl.c that frees a Marker label without clearing the pointer when default scope allocation fails. Attackers can supply a crafted Composition Playlist with a Marker Label lacking a scope attribute, triggering a second free in imfmarkerfree() under memory pressure and causing memory corruption or a crash.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
An attacker must provide a crafted Composition Playlist containing a Marker Label without a scope attribute. Triggering the double free also requires failure of the default scope allocation, such as under memory pressure, and user interaction is required according to the supplied vector.
Which deployments are exposed?
FFmpeg versions before 9.1 are affected when they parse attacker-controlled IMF Composition Playlists. The issue is in the IMF CPL parser, so deployments that do not process such playlists are not exposed through this code path.
What can be done if upgrading is not immediately possible?
Do not process untrusted Composition Playlists with the affected FFmpeg versions, particularly playlists containing Marker Labels without scope attributes. Reducing memory-pressure conditions may also reduce the likelihood of reaching the allocation-failure path, but it is not a substitute for updating.
How can I assess whether a crash or corruption event may be related?
Investigate whether FFmpeg parsed an IMF Composition Playlist with a Marker Label lacking a scope attribute before the event. The affected path can produce a second free in imf_marker_free() after default scope allocation fails.