All vulnerabilities

Servers and applications

CVE-2026-144455

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

Severity
Medium 5.8
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
6.1.7, 7.1.5, 8.0.3
Weakness
Out-of-bounds write (CWE-787)
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read some data · Change some data · Take it down
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
FFmpegServers and applications · cna:ffmpeg|ffmpeg
  • From 6.0 before 6.1.7
  • From 7.0 before 7.1.5
  • From 8.0 before 8.0.3

About FFmpeg

multimedia framework

From Wikidata, CC0 1.0.
GitHub stars
68,362GitHub, 29 Nov 2026
Forks
14,777GitHub, 29 Nov 2026
Developer
Fabrice BellardWikidata
License
GNU Lesser General Public License, version 2.1 or laterWikidata
Written in
C, assembly language, C++Wikidata
First released
20 Dec 2000Wikidata
First published on GitHub
14 Apr 2011GitHub

Release lines

ReleaseLatestSecurity fixes
9.1 'Gauss'9.1.0Yes
9.0 'Lei'9.0.3Yes
8.1 'Hoare'8.1.3Yes
8.0 'Huffman'8.0.3Yes
7.1 'Péter' (LTS)LTS7.1.5Yes
7.0 'Dijkstra'7.0.3Ended 22 Jun 2026

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-144455