JLSEC-2026-2229: FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer (libavformat...
FFmpeg before commit 9d786e4 contains a stack buffer overflow in the MPEG-PS muxer (libavformat/mpegenc.c). When muxing input with more streams than the muxer's fixed-size stack buffer accommodates, the buffer is overflowed. A crafted input with an excessive number of streams triggers the overflow during MPEG-PS muxing.
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.1+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.0.1+0 - Upgrade
Upgrade
FFmpegto a version that resolves this vulnerability.Patch 9d786e4
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Deployments using julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll are affected if their bundled FFmpeg predates commit 9d786e4 and they perform MPEG-PS muxing.
What does exploitation require?
An attacker needs to cause MPEG-PS muxing of crafted input containing more streams than the muxer’s fixed-size stack buffer can accommodate. The supplied severity vector indicates local access, no privileges, and user interaction are required.
What should teams do if they cannot patch immediately?
Avoid MPEG-PS muxing of untrusted inputs, particularly inputs with an excessive number of streams. Update to an FFmpeg build that includes commit 9d786e4 when available.
How can I determine whether my deployment is affected?
Identify the FFmpeg revision bundled with the installed package and determine whether it includes commit 9d786e4. Also review whether the deployment uses the MPEG-PS muxer on inputs that may contain many streams.