CVE-2026-144455
Awaiting Analysis Awaiting Analysis - Queue

Out-of-Bounds Write in FFmpeg LoongArch YUV420P-to-RGB Converters

Vulnerability report for CVE-2026-144455, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

Description

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/yuv2rgb_lasx.c, such as yuv420_rgb24_lasx() and yuv420_rgba32_lasx(), 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
FFmpeg FFmpeg From 6.0 (inc) to 6.1.7 (exc)
FFmpeg FFmpeg From 7.0 (inc) to 7.1.5 (exc)
FFmpeg FFmpeg From 8.0 (inc) to 8.0.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds write issue in FFmpeg versions 6.0 before 6.1.7, 7.0 before 7.1.5, and 8.0 before 8.0.3. It occurs in the LoongArch LASX YUV420P-to-RGB converters in libswscale/loongarch/yuv2rgb_lasx.c. The functions round the output width up to a multiple of 8 pixels and write whole 8- and 16-pixel blocks. When the width is not a multiple of 8, it writes up to 7 pixels past the end of each row, corrupting heap memory.

Detection Guidance

To detect this vulnerability, check if your FFmpeg version is 6.0 before 6.1.7, 7.0 before 7.1.5, or 8.0 before 8.0.3. Run `ffmpeg -version` to verify the installed version. If using LoongArch with LASX enabled, inspect if YUV420P-to-RGB conversions are performed on untrusted input.

Impact Analysis

Attackers who control the width of YUV420P video can exploit this to write past the end of destination buffers during RGB conversion on LoongArch CPUs with LASX. This can corrupt heap memory, crash applications, and potentially allow arbitrary code execution if the corrupted memory is leveraged.

Mitigation Strategies

Upgrade FFmpeg to version 6.1.7, 7.1.5, or 8.0.3 or later. Disable LASX optimizations if using affected versions by setting `disable-lsx` and `disable-lasx` during compilation. Avoid processing untrusted YUV420P video files with libswscale on LoongArch systems.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-144455. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...