Technical impact
The flaw exists in libavcodec/v4l2_buffers.c of FFmpeg versions up to 9.0.2. A heap out‑of‑bounds read occurs when frames with a negative linesize are processed by v4l2_buffer_swframe_to_buf(). Attackers can supply specially crafted bottom‑up AVI or PNM/PFM files that are transcoded to a V4L2 M2M encoder, causing the application to crash or causing heap content to be incorporated into the encoded output, potentially leaking sensitive data.
Affected Systems
FFmpeg, versions through 9.0.2. Any system running these releases and using the V4L2 M2M encoder for media processing is impacted. The vendor is FFmpeg.
Risk and Exploitability
The CVSS score is 5.8, indicating moderate severity. EPSS score is not available, so the likelihood of exploitation in the wild is unclear. The vulnerability is not listed in the CISA KEV catalogue. The likely attack vector is the ingestion of a crafted media file by an application that invokes the V4L2 M2M encoder, which is often a privileged process. Exploitation could lead to denial of service and information disclosure from heap memory. With no known public exploits, the risk remains moderate but should be mitigated promptly.