Heap Out-of-Bounds Write in FFmpeg Affects Multiple Video Formats
CVE-2026-135740
8.5HIGH
What is CVE-2026-135740?
FFmpeg versions prior to 9.1 contain a vulnerability that enables heap out-of-bounds writes due to improper handling of high bit depth luma samples in the build_histogram() function within the libavfilter module. This flaw allows attackers to exploit crafted 9, 10, 12, or 14 bit gray or YUV video content, potentially leading to corruption of heap memory, application crashes, or unauthorized code execution.
Affected Version(s)
FFmpeg 0 < 9.1
References
CVSS V4
Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
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
