CVE-2026-144455
MEDIUM 5.8CVSS 4.0FFmpeg 6.0 before 8.0.3 Out-of-Bounds Write via LoongArch LASX YUV-to-RGB Row Tail
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
- 4 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Awaiting Analysis
- Weakness
- CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 4.0 | MEDIUM 5.8 | 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 |
| CVE List | AISLE | CVSS 4.0 | MEDIUM 5.8 | 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 |
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H |
| CVE List | AISLE | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | FFmpeg | FFmpeg | >= 6.0, < 6.1.7; >= 7.0, < 7.1.5; >= 8.0, < 8.0.3 | 6.1.7, 7.1.5, 8.0.3 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20895
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n8.0.2/libswscale/loongarch/yuv2rgb_lasx.c#L176
- https://github.com/FFmpeg/FFmpeg/commit/a6206a31eae57c6ea7afb7e54443993584b76217
History
- 4 Dec 2026 01:56 UTC · NVD: first stored (published 4 Dec 2026)
- 3 Dec 2026 23:56 UTC · CVE List: first stored (published 3 Dec 2026)