CVE Tools

CVE-2026-8461

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

Published: Jun 18, 2026Updated: Jul 23, 2026 Sources: CVE List NVDCWE-787

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.

In plain language

AI Worth attention

CVE-2026-8461 is a FFmpeg weakness in the MagicYUV decoder that can crash (and sometimes allow code execution) when your software opens a specially crafted video file; if you process untrusted video from users or the internet, you should update to FFmpeg 8.1.2 soon.

Executive summary

In FFmpeg’s libavcodec MagicYUV decoder, a crafted video can trigger a heap out-of-bounds write via an unusual slice height, leading to denial-of-service and potentially remote code execution when applications process the file (network-delivered media; no authentication required).

If affected, business impact
Application crashes from bad videoPotential remote code executionService disruption for media workflowsCompromise of the hosting system

What to do now

  1. Check whether your system uses a vulnerable FFmpeg version (any FFmpeg before 8.1.2) in the apps that decode AVI/MKV/MOV files.
  2. Identify which of those apps pass uploaded or internet-sourced media to FFmpeg’s libavcodec (MagicYUV decode path).
  3. Upgrade FFmpeg to 8.1.2 or later across every server/container where it’s used.
  4. If you can’t upgrade right away, block or quarantine untrusted uploaded media and disable automatic decoding for unknown file types until the update is applied.
Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:RS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

FFmpeg
oss-project·USaka libavcodec

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

and 2 more references View all →
5

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-8461 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows