[ CVE-2026-125203 · Published 9 Nov 2026 ]
Vulnerability in FFmpeg
[ Description ]Official description
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.
[ Fixes ]How to fix it
Fixed versions
- FFmpeg: upgrade to 8.1.3 or laterEarlier versions are listed as affected
- FFmpeg: upgrade to 9.0.2 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Patchgithub.com
[ Advisories ]Government CERT advisories
-
BSI CERT-BundWID-SEC-2026-4419
ffmpeg: Multiple vulnerabilities Translated from German