CVE-2026-125261

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

Published Nov 9, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 22:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 14, 2026, 2:12 AM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 8:18 PM
Modified
Nov 25, 2026, 3:08 PM
Severity
Moderate
Public date
Nov 9, 2026, 7:12 PM