CVE-2026-125261: FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c

Published Nov 9, 2026
·
Updated

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the SGI encoder's encodeframe() 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.

Affected Software

14 affected componentsFixes available
FFmpeg FFmpeg<=9.0.2
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
FFmpeg FFmpeg<=9.0.2
debian/ffmpeg*
debian/ffmpeg*
debian/ffmpeg*
debian/ffmpeg<=7:5.1.9-0+deb12u1, <=7:7.1.5-0+deb13u1, <=7:9.0.2-6
alpine/ffmpeg<8.1.4-r0
8.1.4-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/ffmpeg to a version that resolves this vulnerability.

    Fixed in 8.1.4-r0

Event History

Nov 9, 2026
CVE Published
via MITRE·07:12 PM
Data Sourced
via MITRE·07:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness
Event
via NVD·08:18 PM
Nov 12, 2026
Updated
via OSV·05:25 PM
Severity
Nov 16, 2026
Data Sourced
via OSV·01:00 AM
Affected Software
Nov 25, 2026
Data Sourced
via NVD·03:08 PM
RemedyAffected Software

Frequently Asked Questions

1

What conditions are required to trigger the issue?

An attacker must provide a video whose display matrix causes autorotation to apply a vertical flip, and the video must then be transcoded to SGI images. The vulnerable path is the SGI encoder's encode_frame() function.

2

What is the practical impact during transcoding?

The encoder can read pixel data far outside the intended frame buffer and crash the FFmpeg process. The provided data identifies an out-of-bounds read and process crash; it does not establish further impact.

3

Are deployments that do not produce SGI images exposed through this path?

The described vulnerable operation specifically requires transcoding to SGI images through the SGI encoder. Based on the available information, workflows that do not invoke that encoder are not exposed to this trigger path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203