CVE-2026-8461: PixelSmash
PixelSmash (CVE-2026-8461) is a heap out-of-bounds write vulnerability in FFmpeg's libavcodec MagicYUV decoder, affecting unpatched versions before 8.1.2. The frame allocator and decoder calculate chroma plane heights inconsistently for vertically subsampled video. An attacker-controlled odd slice_height causes per-slice rounding to accumulate additional chroma rows beyond the allocated buffer. Validation in the interlaced decoding path does not protect the vulnerable non-interlaced path. Processing a crafted MagicYUV video in an AVI, MKV, or MOV container can corrupt adjacent heap objects, causing application crashes or, under suitable conditions, arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Applications that process attacker-controlled MagicYUV video through the vulnerable decoder can suffer denial of service during playback, metadata extraction, thumbnail generation, or automated library scanning. Corruption of adjacent AVBuffer metadata can enable arbitrary code execution with the privileges of the media-processing process. Researchers demonstrated execution under the Jellyfin service account and through Nextcloud movie previews in controlled environments. The demonstrated code-execution chain required ASLR to be disabled; this vulnerability alone does not bypass ASLR. Exposure depends on the application's decoder configuration and media-processing workflow, rather than merely its use of FFmpeg.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable or rebuild FFmpeg without the MagicYUV decoder where feasible. Prevent untrusted media from reaching automatic thumbnailing, preview generation, metadata extraction, and transcoding workflows; disable affected preview providers or automatic ingestion where necessary. Run media-processing services with least privilege and isolation to limit compromise impact. Keep ASLR enabled to impede the demonstrated code-execution chain, but do not treat ASLR as protection against crashes or as a substitute for patching.
Remediation
Patch, then assume compromise.
Upgrade upstream FFmpeg to version 8.1.2 or a later release containing the fix, or install vendor packages with a backported correction. The correction rejects slice_height values that are incompatible with vertical chroma subsampling. Update application-bundled and containerized FFmpeg copies as well as system packages. Debian trixie provides a fix in ffmpeg 7:7.1.5-0+deb13u1. Ubuntu fixes are available through Ubuntu Pro ESM Apps in 7:4.4.2-0ubuntu0.22.04.1+esm16 for Ubuntu 22.04 LTS and 7:4.2.7-0ubuntu0.1+esm17 for Ubuntu 20.04 LTS.
Exploits
4 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
References
Frequently asked questions
- Is CVE-2026-8461 exploited in the wild?
- As of Nov 3, 2026, Mallory has no reports of CVE-2026-8461 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-8461?
- Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2026-8461, the earliest disclosed Jun 23, 2026.
- Is there a patch for CVE-2026-8461?
- Upgrade upstream FFmpeg to version 8.1.2 or a later release containing the fix, or install vendor packages with a backported correction. The correction rejects slice_height values that are incompatible with vertical chroma subsampling.
- How severe is CVE-2026-8461?
- CVE-2026-8461 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 1.0% (63rd percentile) as of Nov 3, 2026.
Recent activity
87 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.