CVE-2026-125261 FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125261?
CVE-2026-125261 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official 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.
Weakness: CWE-125
Which versions are affected by CVE-2026-125261?
How do I fix CVE-2026-125261?
No fix has been published for CVE-2026-125261 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125261 being exploited?
There is no known exploitation of CVE-2026-125261 in the wild and no public exploit code.
Sources
Also known as GHSA-9vrv-58pr-qmj5, UBUNTU-CVE-2026-125261.