CVE-2026-125203 PUBLISHED

FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow in Cook Multichannel Decoder

Assigner: VulnCheck
Reserved: 09.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor FFmpeg
Product FFmpeg
Versions Default: unaffected
  • affected from 0 to 8.1.3 (excl.)
  • affected from 9.0 to 9.0.2 (excl.)

Credits

  • Zheng Yu @ Depthfirst finder
  • Joshua Rogers (AISLE Research) reporter
  • Michael Niedermayer remediation developer

References

Problem Types

  • Out-of-bounds Write CWE