medium5.5
CVE-2026-125199
FFmpeg through 9.0.2 contains a memory leak vulnerability in vc1_decode_frame() in libavcodec/vc1dec.c that leaks slice buffers when init_get_bits8() fails.
Impact
FFmpeg through 9.0.2 contains a memory leak vulnerability in vc1_decode_frame() in libavcodec/vc1dec.c that leaks slice buffers when init_get_bits8() fails. Attackers can supply crafted files with repeated oversized VC-1 slices exceeding the bit reader limit to exhaust memory of decoding applications.
An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: high risk of outages.
Affected products · FFmpeg
| Product | Affected versions |
|---|---|
| FFmpeg | from 8.1 through 9.0.2 Version 8.1 ≤9.0.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718
- https://github.com/FFmpeg/FFmpeg/commit/afdc555aace698b88c86d3f33a7773a6c8ba2897
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vc1dec.c#L896
- https://github.com/FFmpeg/FFmpeg
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-in-vc-1-decoder-via-vc1-decode-frame
- https://github.com/advisories/GHSA-9xhm-vxm5-mg6r
- https://nvd.nist.gov/vuln/detail/CVE-2026-125199