JLSEC-2026-2181: FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in...
FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2bufferswframetobuf() in libavcodec/v4l2buffers.c that mishandles frames with negative linesize. Attackers can supply bottom-up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, crashing the application or leaking heap memory into encoded output.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which workflows are exposed to this issue?
Workflows that transcode attacker-controlled bottom-up AVI or PNM/PFM input files to a V4L2 memory-to-memory encoder are exposed. The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
What must an attacker provide to trigger the vulnerability?
An attacker needs to supply a bottom-up AVI or PNM/PFM file with frames that result in a negative linesize, and have that content processed through transcoding to a V4L2 M2M encoder. The vector is local and requires user interaction.
What is the potential impact if exploitation succeeds?
Processing the crafted input can cause the application to crash. It may also leak heap memory into the encoded output.