FFmpeg PixelSmash flaw enables RCE via crafted MagicYUV video files
Vulnerability Disclosure · 11 sources · Updated 4mo ago · First seen Jun 18, 2026
FFmpeg patched CVE-2026-8461, a high-severity heap out-of-bounds write flaw dubbed PixelSmash in the libavcodec MagicYUV decoder. The bug is triggered by an odd slice_height condition while parsing malicious AVI, MKV, or MOV files and affects FFmpeg versions before 8.1.2. The vulnerability can cause denial of service and, in some environments, lead to remote code execution.
JFrog reported that applications embedding FFmpeg are exposed through their media-processing pipelines, and demonstrated full remote code execution against Jellyfin 10.11.9 via its automated media library scan workflow, although successful RCE required ASLR to be disabled or bypassed. Nextcloud was also identified as potentially vulnerable under additional conditions, while Plex appears largely protected by a restricted custom FFmpeg build. Organizations using FFmpeg directly or through downstream products have been urged to upgrade to FFmpeg 8.1.2 or later and apply vendor patches because the decoder’s broad adoption creates a notable supply-chain exposure.
Why it matters
Impact assessment
CVE-2026-8461 exposes a broad downstream ecosystem because FFmpeg is embedded in desktop thumbnailers, media players, self-hosted media servers, NAS platforms, smart TVs, cloud media pipelines, and other applications that process untrusted video. The primary business risk is widespread denial of service from crafted media files, with targeted remote code execution possible in some deployments such as Jellyfin and Nextcloud workflows that automatically invoke FFmpeg or ffprobe.
Severity and scope
- CVE-2026-8461 is rated CVSS 8.8.
- Affected FFmpeg versions are before 8.1.2.
- Exposure is broad rather than niche because MagicYUV was reported enabled by default in upstream FFmpeg and tested Linux distribution packages up to FFmpeg 9.0.
- Tens of millions of Linux systems may be exposed through ffmpegthumbnailer and system libavcodec-based preview generation.
- Supply-chain risk is significant because downstream products inherit the vulnerable decoder when linked against FFmpeg.
Affected products and environments
- FFmpeg deployments with the MagicYUV decoder enabled.
- Confirmed or reported affected software: Jellyfin, Nextcloud, Kodi, mpv, Emby, Immich, PhotoPrism, OBS Studio, ffmpegthumbnailer.
- Desktop environments using ffmpegthumbnailer: GNOME, KDE, XFCE.
- Potentially affected infrastructure: NAS devices, smart TVs, cloud transcoding services, AI/ML environments using FFmpeg directly or via PyAV or OpenCV.
- Plex appears comparatively protected due to a restricted custom FFmpeg build and format allowlist.
Exploitation status
- Researchers demonstrated full remote code execution against Jellyfin 10.11.9.
- Researchers also demonstrated a similar attack path against Nextcloud when Movie preview processing is enabled.
- Demonstrated RCE required ASLR to be disabled; CVE-2026-8461 alone does not bypass ASLR.
- Even without RCE, reliable crash and service disruption conditions were demonstrated across multiple products.
- No confirmed in-the-wild exploitation was provided in the references.


