CVE-2026-8461

HIGH

Heap out-of-bounds write via odd slice_height in FFmpeg MagicYUV decoder

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 6 public exploits for CVE-2026-8461. PoCs published by Unclecheng-li, Y5neKO, ray-goldman.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-8461, a heap out-of-bounds write vulnerability in FFmpeg's MagicYUV decoder. The exploit generates a malicious AVI file that triggers the vulnerability, potentially leading to remote code execution (RCE) under specific heap conditions.

Description

An out-of-bounds write vulnerability in FFmpeg's libavcodec library, specifically in the MagicYUV decoder, allows denial-of-service and, in some cases, can be exploited for remote code execution. This vulnerability is associated with the file libavcodec/magicyuv.C. This issue affects FFmpeg before version 8.1.2.

Exploits (6)

github WORKING POC 665 stars
by Unclecheng-li · cpoc
https://github.com/Unclecheng-li/poc-lab/tree/main/CVE-2026-8461 PixelSmash

This repository contains a functional exploit for CVE-2026-8461, a heap out-of-bounds write vulnerability in FFmpeg's MagicYUV decoder. The exploit generates a malicious AVI file that triggers the vulnerability, potentially leading to remote code execution (RCE) under specific heap conditions.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Racy
Target: FFmpeg < 8.1.2
No auth needed
Prerequisites: FFmpeg < 8.1.2 with MagicYUV decoder enabled · specific heap layout for RCE
devstral-2 · analyzed Jun 28, 2026 Full analysis →
github WORKING POC 1 stars
by Y5neKO · pythonpoc
https://github.com/Y5neKO/CVE-2026-8461-EXP

This repository contains a functional exploit for CVE-2026-8461, a heap out-of-bounds write vulnerability in FFmpeg's MagicYUV decoder. The exploit leverages left-prediction encoding to achieve arbitrary code execution by overwriting the AVBuffer struct and hijacking the free function pointer to execute system commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: FFmpeg (with MagicYUV decoder)
No auth needed
Prerequisites: ASLR disabled · glibc malloc · calibrated heap offsets · vulnerable FFmpeg build
devstral-2 · analyzed Jun 24, 2026 Full analysis →
nomisec WRITEUP
by ray-goldman · poc
https://github.com/ray-goldman/ffmpeg-jellyfix

This repository provides a detailed technical writeup and build scripts for creating a patched FFmpeg 8.1.2 binary to address CVE-2026-8461, ensuring compatibility with Jellyfin. It includes build automation, verification steps, and configuration details but does not contain exploit code.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: FFmpeg 8.1.2
No auth needed
Prerequisites: MSYS2 environment · Clang · FFmpeg source code
devstral-2 · analyzed Jun 28, 2026 Full analysis →
github WORKING POC
by 0xBlackash · pythonpoc
https://github.com/0xBlackash/CVE-2026-8461

The repository contains a functional exploit PoC for CVE-2026-8461, targeting an out-of-bounds write vulnerability in FFmpeg's MagicYUV decoder. The exploit generates a malicious AVI file that can trigger memory corruption and potentially achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: FFmpeg (MagicYUV decoder)
No auth needed
Prerequisites: FFmpeg with vulnerable MagicYUV decoder · ability to deliver malicious AVI file to target
devstral-2 · analyzed Jun 26, 2026 Full analysis →
github SUSPICIOUS
by HORKimhab · poc
https://github.com/HORKimhab/CVE-2026-8461

The repository lacks actual exploit code or technical details about CVE-2026-8461, instead providing generic setup instructions and a script to download external content. The README is filled with disclaimers and ethical use statements but no substantive vulnerability analysis.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Jun 24, 2026 Full analysis →
nomisec WORKING POC
by anyanything · poc
https://github.com/anyanything/CVE-2026-8461-PoC

This repository contains a functional exploit for CVE-2026-8461, leveraging an out-of-bounds (OOB) write in FFmpeg's MagicYUV decoder to achieve arbitrary code execution via AVBuffer struct manipulation. The exploit uses left-prediction encoding to precisely overwrite heap structures and hijack control flow.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Complex
Reliability
Reliable
Target: FFmpeg (with MagicYUV decoder)
No auth needed
Prerequisites: ASLR disabled · glibc malloc · calibrated heap offsets · vulnerable FFmpeg build
devstral-2 · analyzed Jun 24, 2026 Full analysis →

References (1)

Core 1

Scores

CVSS v3 8.8
EPSS 0.0039
EPSS Percentile 30.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-787
Status published
Products (1)
FFmpeg/FFmpeg < 8.1.2
Published Jun 18, 2026
Tracked Since Jun 18, 2026