JLSEC-2026-2199: FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peak_init_writer() and...
FFmpeg before 9.1 contains a heap-based buffer overflow vulnerability in peakinitwriter() and wavwritepacket() in libavformat/wavenc.c that allows attackers to corrupt heap memory by supplying audio with zero channels. Attackers can provide a crafted PCM stream declaring no channels for WAV output with peak envelope enabled, causing out-of-bounds writes past peakmaxpos and peakmaxneg arrays, crashes, and potential code execution.
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 - Upgrade
Upgrade
FFmpegto a version that resolves this vulnerability.Fixed in 9.1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this issue?
The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll using FFmpeg versions before 9.1. The vulnerable path is reached when WAV output uses peak envelope processing.
What must an attacker be able to do to exploit it?
An attacker needs to supply a crafted PCM stream that declares zero audio channels and have it processed for WAV output with peak envelope enabled. The vector indicates local access, no privileges required, and user interaction required.
How can I identify risky processing before updating?
Look for workflows that accept or process untrusted PCM audio, produce WAV output, and enable peak envelope generation. Streams declaring zero channels are the specifically identified malicious input condition.