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.
Published: 2026-12-03
Score: 5.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 23:15:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg 6.0 before 8.0.3 Out-of-Bounds Write via LoongArch LASX YUV-to-RGB Row Tail
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: AISLE

Published:

Updated: 2026-12-03T22:58:21.118Z

Reserved: 2026-12-03T22:10:24.160Z

Link: CVE-2026-144455

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-04T00:19:13.407

Modified: 2026-12-04T00:19:13.550

Link: CVE-2026-144455

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses