CVE-2026-125220: FFmpeg through 9.0.2 Mimic Decoder Deadlock via Frame Threading Failure
FFmpeg through 9.0.2 contains a deadlock vulnerability in mimicdecodeframe() in libavcodec/mimic.c that fails to report frame progress when initgetbits8() fails. Attackers can supply a crafted file with an oversized Mimic intra frame followed by inter frames to hang frame-threaded decoding indefinitely.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/ffmpegto a version that resolves this vulnerability.Fixed in 8.1.4-r0 - Upgrade
Upgrade
debian/ffmpegto a version that resolves this vulnerability.Fixed in 7:7.1.6-0+deb13u1
Event History
Frequently Asked Questions
What conditions are required to trigger the deadlock?
An attacker must cause FFmpeg to decode a crafted file containing an oversized Mimic intra frame followed by inter frames. The affected decoding must use frame threading; the crafted input also requires user interaction under the supplied vector.
What is the operational impact of successful exploitation?
The decoder can hang indefinitely, causing a denial of service. The provided impact vector indicates availability impact only, with no stated confidentiality or integrity impact.
Which deployments should prioritize remediation?
Prioritize systems that decode untrusted or externally supplied media files and have frame-threaded decoding enabled. The issue is described as affecting FFmpeg through version 9.0.2.