| Name | CVE-2026-144455 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6361-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| ffmpeg (PTS) | bookworm, bookworm (security) | 7:5.1.9-0+deb12u1 | vulnerable |
| trixie (security), trixie | 7:7.1.5-0+deb13u1 | fixed | |
| forky | 7:9.0.2-6 | fixed | |
| sid | 7:9.1-3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| ffmpeg | source | trixie | 7:7.1.5-0+deb13u1 | DSA-6361-1 | ||
| ffmpeg | source | (unstable) | 7:8.1-1 |
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20895
https://github.com/FFmpeg/FFmpeg/commit/a6206a31eae57c6ea7afb7e54443993584b76217 (n8.1)
https://github.com/FFmpeg/FFmpeg/commit/de2e82037c9a6cbaaf227a512178695e163336af (n7.1.5)