CVE-2026-125203
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer …
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the Cook multichannel decoder in libavcodec/cook.c that fails to verify subpacket channel masks are disjoint. Attackers can supply a crafted RealMedia Cook stream with overlapping subpacket masks, causing cook_decode_frame() to write decoded samples beyond allocated output planes in any application decoding the file.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24485
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/cook.c#L1294
- github.com/FFmpeg/FFmpeg/commit/3e09f5e24eb277a6d011745ff03e602f61c5c171
- www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow
- nvd.nist.gov/vuln/detail/CVE-2026-125203
- cve.org/CVERecord?id=CVE-2026-125203
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.