JLSEC-2026-2125: FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the...
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 cookdecodeframe() to write decoded samples beyond allocated output planes in any application decoding the file.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.0.2+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.0.2+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments should be prioritized for triage?
Prioritize applications that use julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll and decode RealMedia files containing Cook multichannel audio. The vulnerable decoding path is in FFmpeg's Cook decoder.
Does exploitation require user interaction or network access?
The supplied CVSS vector indicates local attack access and required user interaction. Exploitation involves an application decoding an attacker-crafted RealMedia Cook stream.
How can I determine whether a deployment is affected?
Check the FFmpeg version used by the application and whether it processes Cook multichannel streams. Versions before 8.1.3, and 9.x versions before 9.0.2, are affected.