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

Summary

CVECVE-2026-144455
StatePUBLISHED
AssignerAISLE
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-04 00:19:13 UTC
Updated2026-12-04 00:19:13 UTC
DescriptionFFmpeg 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.

Risk And Classification

Primary CVSS: v4.0 5.8 MEDIUM from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Problem Types: CWE-787 | CWE-787 Out-of-bounds Write


VersionSourceTypeScoreSeverityVector
4.01a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary5.8MEDIUMCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/C...
4.0CNADECLARED5.8MEDIUMCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
3.11a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary5.8MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H
3.1CNADECLARED5.8MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Confidentiality
Low
Integrity
Low
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
High

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA FFmpeg FFmpeg affected 6.0 6.1.7 custom Not specified
CNA FFmpeg FFmpeg affected 7.0 7.1.5 custom Not specified
CNA FFmpeg FFmpeg affected 8.0 8.0.3 custom Not specified

References

ReferenceSourceLinkTags
github.com/FFmpeg/FFmpeg 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
github.com/FFmpeg/FFmpeg/commit/a6206a31eae57c6ea7afb7e54443993584b76217 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20895 1a4f025a-074d-4105-b4e2-52bd8eabe2ea code.ffmpeg.org
github.com/FFmpeg/FFmpeg/blob/n8.0.2/libswscale/loongarch/yuv2rgb_lasx.c 1a4f025a-074d-4105-b4e2-52bd8eabe2ea github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Pavel Kohout (AISLE Research); Stanislav Fort (AISLE Research) (en)

CNA: Hao Chen (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report