CVE-2026-135740: FFmpeg before 9.1 Heap Out-of-Bounds Write via readeia608 Filter Histogram
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vfreadeia608.c because buildhistogram() does not clamp high bit depth luma samples to the nominal maximum. Attackers can supply crafted 9, 10, 12 or 14 bit gray or YUV video to corrupt heap memory, causing crashes or possibly code execution.
Affected Software
Event History
Frequently Asked Questions
What input and processing conditions are required for exploitation?
An attacker must induce processing of crafted 9-, 10-, 12-, or 14-bit grayscale or YUV video by the readeia608 filter. The issue occurs when high-bit-depth luma samples exceed the nominal maximum during histogram construction.
Is remote exploitation possible without prior access?
The supplied severity vector identifies the attack vector as local and requires user interaction, with no privileges required. The description indicates exploitation is triggered by supplying crafted video for processing rather than by network access alone.
What is the impact if the vulnerability is exploited?
Crafted input can corrupt heap memory due to an out-of-bounds write. This can cause a crash and may allow code execution, with high impacts to confidentiality, integrity, and availability according to the provided severity vector.
Which versions should be considered affected?
FFmpeg versions before 9.1 are affected. The provided information does not identify a narrower fixed release range or any unaffected configurations.