UBUNTU-CVE-2026-125256: Buffer Overflow

Published Nov 10, 2026
·
Updated

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

7 affected components
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*

Event History

Nov 10, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

The issue affects FFmpeg through 9.0.2 when Huffyuv transcoding is performed on an RVV-enabled RISC-V build. The triggering input is RGB video with a width narrower than 8 or 16 pixels.

2

What must an attacker be able to do to exploit it?

An attacker must be able to cause Huffyuv transcoding of a crafted narrow RGB video on an affected RVV-enabled RISC-V FFmpeg build. The vulnerability is triggered by negative length values that cause writes beyond the encoder temporary buffer.

3

What is the impact of successful exploitation?

Successful exploitation can corrupt heap memory through a heap buffer overflow in ff_llvidenc_diff_bytes_rvv().

4

What can be done if patching is not immediately possible?

Avoid Huffyuv transcoding of RGB video narrower than 8 or 16 pixels on RVV-enabled RISC-V builds. Reject, resize, or otherwise prevent processing of such inputs until an update is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203