CVE Catalog

CVE-2026-125261

MediumCVSS 6.1
Published: Translated: NVD NIST

Summary

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the SGI encoder's encode_frame() in libavcodec/sgienc.c, where unsigned size variables mis-handle negative linesize frames. Attackers can supply a video whose display matrix triggers autorotate vflip, so transcoding to SGI images reads pixel data far outside the frame and crashes the process.

Risk Assessment

May cause application crashes when transcoding untrusted video files to SGI images. Impacts availability of multimedia processing systems.

Recommendation

Update FFmpeg to a version later than 9.0.2 or apply the patch. Avoid transcoding untrusted video files to SGI format until updated.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the SGI encoder's encode_frame() in libavcodec/sgienc.c, where unsigned size variables mis-handle negative linesize frames. Attackers can supply a video whose display matrix triggers autorotate vflip, so transcoding to SGI images reads pixel data far outside the frame and crashes the process.

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