JLSEC-2026-2067: FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in av_encryption_init_info_free()...
FFmpeg through 9.0.2 contains a stack exhaustion vulnerability in avencryptioninitinfofree() in libavutil/encryptioninfo.c, which recursively frees AVEncryptionInitInfo linked lists built by the MOV demuxer's movreadpssh(). Attackers can supply a crafted MP4 file with tens of thousands of small pssh boxes to exhaust the stack and crash the process, while also causing quadratic CPU consumption.
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.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Applications using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll are exposed when they process attacker-controlled MP4 files. The vulnerable parsing path is in the MOV demuxer handling of pssh boxes.
What must an attacker do to trigger the crash?
An attacker must provide a crafted MP4 containing tens of thousands of small pssh boxes and induce the application to process it. The supplied vector indicates local attack access, high attack complexity, and required user interaction.
What is the operational impact of successful exploitation?
Processing the malicious file can exhaust the stack and crash the affected process. It can also cause quadratic CPU consumption, creating a denial-of-service condition.
How can teams reduce risk before an update is available?
Avoid processing untrusted MP4 files, or isolate FFmpeg processing so a crash or excessive CPU use does not affect the primary application. In particular, restrict or reject inputs containing excessive pssh boxes where feasible.