Vulnerability DatabaseCVE-2026-144455

CVE-2026-144455: 
Ffmpeg vulnerability analysis and mitigation

Overview

CVE-2026-144455 is a heap out-of-bounds write vulnerability in FFmpeg's LoongArch LASX-accelerated YUV420P-to-RGB color conversion routines within libswscale/loongarch/yuv2rgb_lasx.c. The affected functions — including yuv420_rgb24_lasx() and yuv420_rgba32_lasx() — incorrectly round the output width up to a multiple of 8 pixels and write whole 8- or 16-pixel blocks, causing writes of up to 7 pixels past the end of each row when the frame width is not a multiple of 8. Affected versions are FFmpeg 6.0 through 6.1.6, 7.0 through 7.1.4, and 8.0 through 8.0.2. It carries a CVSS v3.1 score of 5.8 (Medium) and a CVSS v4.0 score of 5.8 (Medium) (Github Advisory, Feedly).

Technical details

The root cause is an off-by-up-to-7 out-of-bounds write (CWE-787) introduced by the LASX-optimized conversion macros in libswscale/loongarch/yuv2rgb_lasx.c. The vulnerable code computed the working width as (dst_w + 7) & ~7 — rounding up to the nearest multiple of 8 — and then stored full 8- or 16-pixel SIMD blocks regardless of the actual frame width, overwriting up to 7 pixels (21 bytes for 24-bit RGB, 28 bytes for 32-bit RGBA) past the end of each destination row into adjacent heap memory. Exploitation requires an attacker to control the width of a YUV420P video file that a victim application processes using libswscale on a LoongArch CPU with LASX support, and the destination buffer must be tightly packed with no padding. The fix, committed as a6206a3, replaces the rounded width with the actual dst_w and adds granular remainder-handling macros (DEALYUV2RGBLINERES, ENDYUV2RGBLINE) to write only the exact number of remaining pixels (FFmpeg Commit, Github Advisory).

Impact

Successful exploitation causes heap memory corruption in the process performing the color conversion, most immediately resulting in application crashes (denial of service). Because the overflow writes attacker-influenced pixel data into adjacent heap allocations, there is a limited potential for information disclosure (low confidentiality impact) and minor heap metadata or data corruption (low integrity impact). The vulnerability is scoped to the vulnerable system only, with no impact on subsequent systems, and lateral movement is not a direct consequence. The primary real-world risk is crashing media-processing applications or services that handle untrusted video on LoongArch hardware (Github Advisory, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the disclosure date (Github Advisory). The EPSS score is 0.0, reflecting very low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation is constrained by the requirement for LoongArch hardware with LASX support, attacker control over video width, and user interaction to trigger the conversion, making opportunistic mass exploitation unlikely.

Exploitation steps

  1. Craft a malicious video file: Create a YUV420P-format video with a frame width that is not a multiple of 8 (e.g., 1918, 1022, or any width where width % 8 != 0) to trigger the off-by-N write in the LASX conversion path.
  2. Target a vulnerable application: Identify an application running on a LoongArch CPU with LASX support that uses FFmpeg's libswscale to convert YUV420P video to a packed RGB format (RGB24, BGR24, RGBA32, etc.) into a tightly packed destination buffer, using an affected FFmpeg version (6.0–6.1.6, 7.0–7.1.4, or 8.0–8.0.2).
  3. Deliver the video: Provide the crafted video to the target application through any available input channel (file open, network stream, media upload, etc.) and induce the application to perform the color space conversion via libswscale.
  4. Trigger the overflow: When yuv420_rgb24_lasx() or a related LASX function processes the non-multiple-of-8 width, it writes up to 21 bytes (24-bit) or 28 bytes (32-bit) past the end of the destination buffer, corrupting adjacent heap memory.
  5. Achieve denial of service: The heap corruption causes the application to crash. Further exploitation (e.g., code execution) would require additional heap-shaping primitives and is not demonstrated publicly (FFmpeg Commit, Github Advisory).

Indicators of compromise

  • Process: Unexpected crashes or segmentation faults in FFmpeg-based applications or services processing video on LoongArch systems; crash dumps referencing yuv420_rgb24_lasx, yuv420_rgba32_lasx, or related LASX functions in libswscale/loongarch/yuv2rgb_lasx.c.
  • File System: Core dump files generated by media processing applications; presence of video files with non-standard (non-multiple-of-8) frame widths in input directories.
  • Logs: Application error logs showing heap corruption errors, SIGABRT, SIGSEGV, or SIGBUS signals from FFmpeg processes; repeated processing failures on specific video files with unusual dimensions.

Mitigation and workarounds

Upgrade FFmpeg to a patched version: 6.1.7 or later in the 6.x line, 7.1.5 or later in the 7.x line, or 8.0.3 or later in the 8.x line. The fix is available in commit a6206a3 on the FFmpeg repository. Where immediate upgrade is not possible, avoid processing untrusted YUV420P video with libswscale on LoongArch LASX systems, or restrict such conversions to trusted inputs only. Running vulnerable media processing in isolated sandboxed processes can limit the blast radius of a crash to that process alone (Github Advisory, FFmpeg Commit).

Additional resources


Source: This report was generated using AI

Related Ffmpeg vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-144456MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • libavdevice-free
NoYesDec 04, 2026
CVE-2025-71476MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • libavutil-free-devel
NoYesNov 29, 2026
CVE-2025-71475MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesNov 29, 2026
CVE-2026-144455MEDIUM5.8
  • Ffmpeg logoFfmpeg
  • ffmpeg-free
NoYesDec 04, 2026
CVE-2026-137911MEDIUM5.8
  • Ffmpeg logoFfmpeg
  • libavcodec-free
NoYesNov 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management