Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-8461: PixelSmash

Published Jun 18, 2026 · Updated 25 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS1.0%63rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-8461CWE-787 · Out-of-bounds Write

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

4 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2026-8461-PoCRepository contains a README and a single Python exploit generator, exploit_cve_2026_8461.py. The script is not a scanner or detector; it builds crafted AVI files intended to exploit CVE-2026-8461 in FFmpeg's MagicYUV decoder. The stated exploit chain is a heap out-of-bounds write leading to corruption of an adjacent AVBuffer structure, overwriting its free callback with system() and arranging a heap-resident command string so cleanup triggers arbitrary command execution. The code structure includes helper packing/unpacking routines, left-prediction encode/decode logic to shape pixel bytes into desired post-decode memory contents, a TargetCalibration dataclass for target-specific offsets and addresses, frame-building logic for malicious MagicYUV content, AVI container construction, calibration support, and a CLI main() routine. The exploit supports two modes: a baseline crash/OOB mode and a calibrated RCE mode. The baseline mode generates a file expected to crash or corrupt memory on vulnerable FFmpeg. The RCE mode requires explicit parameters such as system() address, heap command address, AVBuffer offset, and optionally calibration JSON/glibc metadata. Operationally, the exploit is file-based: the attacker delivers a malicious AVI and waits for a local ffmpeg process to decode it. The script assumes a narrow target environment: ASLR disabled, glibc malloc allocator, calibrated heap layout, and a vulnerable unpatched FFmpeg build. Because the payload is an attacker-provided shell command but relies on hardcoded addresses and manual calibration rather than a reusable framework, the maturity is best classified as OPERATIONAL rather than WEAPONIZED.anyanything · Disclosed Jun 23, 2026 · python · markdown · file · localOperationalCVE-2026-8461-EXPRepository contains a working Python-based exploit PoC for CVE-2026-8461 ('PixelSmash'), a heap out-of-bounds write in FFmpeg's MagicYUV decoder. The repo structure is straightforward: two detailed analysis documents (English and Chinese), a README with usage instructions, and three Python scripts comprising the exploit workflow. `exploit_cve_2026_8461.py` is the main payload generator that crafts a malicious AVI with MagicYUV frame geometry chosen to force a 640-byte OOB write from the Cb plane on the final slice. It uses inverse left-prediction encoding so the decoded bytes in heap memory become attacker-chosen values, then overwrites AVBuffer fields to redirect `free` to `system()` and point `opaque` at an embedded shell command string. `auto_calibrate.py` supports debug-symbol FFmpeg builds by driving GDB with source breakpoints at `magicyuv.c:291`, dumping heap-adjacent memory, locating AVBuffer structures, and extracting the `system()` address. `auto_calibrate_nosym.py` performs similar calibration for stripped dynamically linked builds by breaking on exported `av_buffer_create`, identifying Cb/Cr allocations, setting a hardware watchpoint on the expected OOB start, and reconstructing heap metadata from the dump. The exploit is not framework-based and is more than a detector: it is an operational PoC with a hardcoded exploitation strategy and customizable shell-command payload. Primary attack vector is file-based delivery of a crafted AVI to any application that fully decodes MagicYUV content via vulnerable FFmpeg/libavcodec. The README explicitly notes that probe-only paths such as `ffprobe` or `ffmpeg -i file` without output do not trigger the final execution path. Practical exploitation is constrained: tested on x86_64, depends on glibc heap layout, requires ASLR disabled, and calibration is specific to binary build, libc version, and even AVI path length. Notable fingerprintable artifacts include `/tmp/exploit.avi`, `calibration.json`, `/tmp/pwned`, the vulnerable source path `libavcodec/magicyuv.c`, and an example reverse-shell callback target `10.0.0.1:4444` embedded only as sample payload text.Y5neKO · Disclosed Jun 24, 2026 · python · markdown · file · localOperationalCVE-2026-8461Repository contains a single Python exploit generator and a README. The main file, CVE-2026-8461.py, is a standalone Python 3 proof-of-concept/operational exploit builder for a claimed FFmpeg MagicYUV decoder out-of-bounds write vulnerability (CVE-2026-8461, 'PixelSmash'). The script constructs a minimal MagicYUV frame inside an AVI container, deliberately using SLICE_HEIGHT=31 and crafted chroma-plane data to trigger an out-of-bounds write during decoding. Its exploitation strategy is more than a crash PoC: it embeds an attacker-supplied shell command into a heap-shaped payload, preserves optional glibc metadata, and overwrites fields resembling an AVBuffer structure so that a function pointer/free callback is replaced with system() and the opaque pointer references the command buffer. The script supports target-specific calibration through a JSON file or direct CLI parameters for system() and command heap addresses, indicating an attempt at practical RCE under controlled conditions. Repository structure is minimal: README.md documents the vulnerability, impact, affected software, and mitigation; CVE-2026-8461.py is the only code file and clear entry point. No network communication, C2, or remote endpoints are present in the code; delivery is via a malicious media file, making the primary attack vector file-based against applications or services that automatically decode MagicYUV/FFmpeg content.0xBlackash · Disclosed Jun 26, 2026 · python · markdown · fileOperationalPixelSmashThis 16-file repository is an operational Linux proof-of-concept/lab for CVE-2026-8461, described as a CWE-787 out-of-bounds write in FFmpeg's MagicYUV decoder. The core Python generator, exploit/exploit_cve_2026_8461.py, constructs a malicious AVI with 1280x32 YUV420P geometry and specially chosen slice dimensions. It applies inverse left-prediction encoding so decoded chroma bytes overwrite selected heap locations. The intended exploitation chain overwrites an adjacent AVBuffer object's free callback with libc system() and its opaque argument with an in-heap command string; freeing the frame then executes the command. exploit/auto_calibrate.py supports debug-symbol builds, while auto_calibrate_nosym.py supports stripped dynamically linked builds by breaking on exported av_buffer_create and using GDB watchpoints to discover Cb-plane out-of-bounds locations, AVBuffer offsets, glibc chunk metadata, and system() addresses. The resulting JSON calibration is consumed by the AVI generator. The exploit is highly environment-specific: it requires ASLR disabled, matching allocator behavior, a matching FFmpeg/libc build, and an unchanged AVI pathname. lab/setup_lab.sh installs dependencies, clones and builds FFmpeg n8.0.1 into /usr/local, and obtains the upstream PoC. lab/prepare_payloads.sh calibrates against that local build and creates an AVI under lab/vids/. setup.sh orchestrates the lab workflow. player/main.cpp is a Qt GUI demonstration harness that sets LD_LIBRARY_PATH to /usr/local/lib and invokes the vulnerable ffmpeg decoder on a selected file. Documentation states the trigger occurs during decoding, affecting file-processing surfaces such as media players, transcoders, thumbnail generators, and upload-preview pipelines, rather than during probing alone. There are implementation inconsistencies in the wrapper lab: several references use prepare_payload.sh while the included file is prepare_payloads.sh, and player/CMakeLists.txt is empty despite compile.sh expecting a build target; these may prevent the bundled end-to-end demo scripts/player from working without correction, but do not change the apparent purpose of the core exploit scripts.se1ims · Disclosed Sep 24, 2026 · python · bash · file · localOperational
FAQ

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.
Activity feed

Recent activity

87 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+9 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity72Community discussion across Reddit, Mastodon, and other social sources.