FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
≤ 9.0.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-125261 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-125261 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125261 ffmpeg No fixed version in this record
Original description The description as published by the 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org