JLSEC-2026-2195: FFmpeg before 9.1 contains an out-of-bounds write vulnerability in build_frame_code() in...
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in buildframecode() in libavformat/nutenc.c that allows attackers to corrupt the headerlen[] array by supplying inputs with many audio streams. Attackers can remux a crafted input with many audio streams to NUT, causing out-of-bounds reads past static header tables and crashing the application.
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
Which workloads are exposed to this issue?
Workloads using the affected FFmpeg packages are exposed when they remux input into the NUT format. The crafted input must contain many audio streams.
What must an attacker be able to do to trigger the vulnerability?
An attacker needs to supply a crafted media input with many audio streams and cause the application to remux it to NUT. The supplied data can cause out-of-bounds access to static header tables and crash the application.
How can I determine whether a deployment may be affected?
Check whether julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll provides an FFmpeg version earlier than 9.1, and whether the deployment remuxes untrusted or attacker-controlled media to NUT. The issue is in the NUT muxer code path.