CVE Catalog

CVE-2026-125270

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.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.

Risk Assessment

May cause application crashes or leak sensitive heap data into encoded video output, posing an information disclosure risk. Affects systems processing untrusted media files.

Recommendation

Update FFmpeg to a version later than 9.0.2 or apply the available patch. Avoid transcoding untrusted AVI/PNM/PFM files to V4L2 M2M encoders until updated.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains a heap out-of-bounds read vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS