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.
Published: 2026-11-09
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Out-of-Bounds Read leading to process crash
Action: Patch Upgrade
AI Analysis

Impact

The vulnerability is an out‑of‑bounds read in SGI encoder's encode_frame() in libavcodec/sgienc.c when unsigned size variables mishandle negative linesize frames. This allows an attacker to supply a video that triggers autorotate vflip, causing transcoding to SGI images to read pixel data outside the frame bounds and crash the process. The primary impact is a denial of service through application crash, and the out‑of‑bounds read may also expose sensitive memory contents, though no explicit exploitation beyond crash is documented.

Affected Systems

FFmpeg, versions up to and including 9.0.2. The affected component is the SGI encoder in libavcodec. Users running FFmpeg 9.0.2 or older should be aware of the risk.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS is not available, so exploitation likelihood remains uncertain. The vulnerability is not listed in CISA KEV. An attacker can exploit it by supplying a crafted video file to an FFmpeg instance when transcoding, potentially in a media server or batch process. The attack vector is inferred to involve unauthenticated input of a malicious video; no privilege escalation is required beyond executing the transcoding operation.

Generated by OpenCVE AI on November 9, 2026 at 21:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to 9.1 or newer
  • Avoid using the SGI encoder for untrusted media files
  • Disable autorotate or vflip features when transcoding to SGI images

Generated by OpenCVE AI on November 9, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:12:03.938Z

Reserved: 2026-11-09T18:15:33.734Z

Link: CVE-2026-125261

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T20:18:12.513

Modified: 2026-11-09T20:18:12.513

Link: CVE-2026-125261

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:30:11Z

Weaknesses