CVE-2026-135738: FFmpeg before 9.1 Heap Out-of-Bounds Write via signalstats Filter Histograms
FFmpeg before 9.1 contains a heap out-of-bounds write vulnerability in libavfilter/vfsignalstats.c that allows attackers to corrupt heap memory by supplying high bit depth samples exceeding the nominal maximum. Attackers can craft planar 9 to 14 bit YUV video whose unclamped samples or saturation values index past histogram ends, crashing applications or possibly executing code.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using FFmpeg before 9.1 are exposed when they process attacker-controlled planar YUV video with the signalstats filter. The affected code is in libavfilter/vf_signalstats.c.
What must an attacker provide to trigger the vulnerability?
An attacker needs to supply a crafted planar 9- to 14-bit YUV video containing high-bit-depth samples whose unclamped values or saturation values exceed the expected maximum. Processing that input through signalstats can cause histogram indexes to run past their allocated bounds.
Is user interaction required?
Yes. The supplied vector indicates UI:R, meaning a user must interact with the malicious video or otherwise cause the application to process it.
What is the practical impact of successful exploitation?
The out-of-bounds write can corrupt heap memory and crash the affected application. The description also states that code execution may be possible.