CVE Catalog

CVE-2026-125203

HighCVSS 7.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Heap memory corruption can lead to crashes or potential code execution in applications decoding untrusted RealMedia files. Organizations processing media are exposed to attacks via supplied files.

Recommendation

Update FFmpeg to version 8.1.3 or 9.0.2 (or later) and avoid decoding untrusted RealMedia Cook streams. Consider isolating the decoding process.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS