JLSEC-2026-2188: FFmpeg before 9.1 contains an out-of-bounds write vulnerability in ogg_buffer_data() in...
FFmpeg before 9.1 contains an out-of-bounds write vulnerability in oggbufferdata() in libavformat/oggenc.c because oggbufferpage() leaves a full page current after failed allocation. When page allocation fails, a memset with length (sizet)-1 or an overflowing memcpy writes past the segment table, causing heap memory corruption and crashes when writing Ogg output.
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 deployments are exposed?
Deployments using FFmpeg before 9.1 through julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll are affected when they write Ogg output. The issue is in the Ogg muxing code in libavformat/oggenc.c.
What conditions are needed to trigger the memory corruption?
The vulnerable path requires writing Ogg output and a page-allocation failure. After that failure, a memset using a length of (size_t)-1 or an overflowing memcpy can write beyond the segment table and corrupt heap memory.
What can be done before updating?
Avoid writing Ogg output with the affected FFmpeg builds, particularly in workflows where allocation failures may occur. Update to FFmpeg 9.1 or later when available.
How can I determine whether an installation is affected?
Check the FFmpeg version used by julia/ffmpeg_jll or julia/ffmpeg_nogpl_jll. Versions before 9.1 that can produce Ogg output are in scope.