CVE-2026-144455: FFmpeg 6.0 before 8.0.3 Out-of-Bounds Write via LoongArch LASX YUV-to-RGB Row Tail

Published Dec 3, 2026
·
Updated

FFmpeg 6.0 before 6.1.7, 7.0 before 7.1.5, and 8.0 before 8.0.3 contains an out-of-bounds write vulnerability in the LoongArch LASX YUV420P-to-RGB converters in libswscale/loongarch/yuv2rgblasx.c, such as yuv420rgb24lasx() and yuv420rgba32lasx(), which round the output width up to a multiple of 8 pixels and store whole 8- and 16-pixel blocks, writing up to 7 pixels past the end of each row when the width is not a multiple of 8. Attackers who control the width of YUV420P video that an application converts to packed RGB with libswscale on a LoongArch CPU with LASX, into tightly packed destination buffers, can write up to 21 bytes (24-bit formats) or 28 bytes (32-bit formats) past the end of the destination buffer, corrupting heap memory and crashing the application.

Affected Software

1 affected component
FFmpeg FFmpeg>=6.0<6.1.7, >=7.0<7.1.5, >=8.0<8.0.3

Event History

Dec 3, 2026
CVE Published
via MITRE·10:58 PM
Data Sourced
via MITRE·10:58 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to this issue?

Exposure requires a LoongArch CPU with LASX and use of libswscale to convert YUV420P video to a packed RGB format. The vulnerable conversion must write to a tightly packed destination buffer, and the output width must not be a multiple of 8 pixels.

2

What must an attacker control to trigger the overwrite?

An attacker must be able to control the width of YUV420P video that the application converts to packed RGB using the affected LASX conversion path. Widths not divisible by 8 cause the row conversion to write beyond the intended row boundary.

3

Which FFmpeg releases should be updated?

Update to FFmpeg 6.1.7, 7.1.5, or 8.0.3 or later, as applicable to the release branch in use. Affected ranges are 6.0 before 6.1.7, 7.0 before 7.1.5, and 8.0 before 8.0.3.

4

What can be done if an update cannot be deployed immediately?

Avoid the LASX YUV420P-to-packed-RGB conversion path for untrusted video widths. Where the conversion cannot be avoided, ensure processed output widths are multiples of 8 pixels and do not allow untrusted input to select other widths.

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