Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-125261

FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

FFmpeg FFmpeg

Default version status: unaffected

  • 0 to ≤ 9.0.2affected
pkg:github/ffmpeg/ffmpeg

References