CVE-2026-125261

Discovered by AISLEPUBLISHEDCWE-125

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.

CVSS Base Scores

CVSS v4.06.9

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

CVSS v3.1
6.1

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Affected Products

VendorProductVersionStatus
FFmpegFFmpeg0affected

Credits

  • Joshua Rogers (AISLE Research)(finder)
  • Michael Niedermayer(remediation developer)

References