JLSEC-2026-2169: FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ff_llvidenc_diff_bytes_rvv(...
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in ffllvidencdiffbytesrvv() that allows attackers to corrupt heap memory by triggering negative length values in the Huffyuv encoder. Attackers can supply RGB video narrower than 8 or 16 pixels for huffyuv transcoding on RVV-enabled RISC-V builds, causing writes past the encoder's temp buffer.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/FFMPEG_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0 - Upgrade
Upgrade
julia/FFMPEG_nogpl_jllto a version that resolves this vulnerability.Fixed in 9.1.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which environments are exposed to this issue?
Exposure is limited to RVV-enabled RISC-V builds of FFmpeg when Huffyuv transcoding is performed. The affected software entries are julia/ffmpeg_jll and julia/ffmpeg_nogpl_jll.
What must an attacker provide to trigger the overflow?
An attacker must cause Huffyuv transcoding of RGB video with a width narrower than 8 or 16 pixels. This can produce negative length values that cause writes beyond the encoder temporary buffer.
Is ordinary FFmpeg use affected?
The issue requires the specific combination of Huffyuv encoding, RGB input with a very narrow frame width, and an RVV-enabled RISC-V build. The provided information does not indicate impact outside those conditions.
How can I determine whether a workload may be vulnerable?
Check whether the deployment uses an RVV-enabled RISC-V FFmpeg build and processes untrusted or attacker-controlled RGB video through the Huffyuv encoder. Workloads that allow widths below 8 or 16 pixels meet the described trigger condition.