CVE-2026-135723
FFmpeg before 9.1 contains a double free vulnerability in the fill_marker() function of libavformat/imf_cpl.c that frees a Marker label without clearing the po…
Impact
FFmpeg before 9.1 contains a double free vulnerability in the fill_marker() function of libavformat/imf_cpl.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 imf_marker_free() under memory pressure and causing memory corruption or a crash.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (FFmpeg)
| Product | Affected versions |
|---|---|
| FFmpeg | before 9.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24917
- https://github.com/FFmpeg/FFmpeg/commit/301a611370a0ba81f4a71d3b7ccd064623606c1b
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/imf_cpl.c#L315
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-before-9.1-double-free-in-imf-cpl-parser-fill-marker
- https://github.com/advisories/GHSA-qm6w-jhc3-94g4
- https://nvd.nist.gov/vuln/detail/CVE-2026-135723