Out-of-Bounds Read Vulnerability in FFmpeg SGI Encoder
CVE-2026-125261
6.9MEDIUM
What is CVE-2026-125261?
FFmpeg versions up to 9.0.2 contain a vulnerability in the SGI encoder's encode_frame() function, which can lead to out-of-bounds reads. The issue arises from improper handling of negative linesize frames due to unsigned size variables. Malicious actors can exploit this vulnerability by supplying specially crafted videos that trigger the autorotate vflip feature. As a result, transcoding to SGI images can inadvertently read pixel data that lies outside the intended frame boundaries, potentially crashing the application.
Affected Version(s)
FFmpeg 0 <= 9.0.2
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Michael Niedermayer
