
CVE-2026-8461
A malicious video file can become a weapon.
PixelSmash is a critical memory corruption vulnerability affecting FFmpeg's MagicYUV decoder that allows an attacker to trigger an out-of-bounds write, resulting in application crashes and potentially remote code execution.
CVE-2026-8461 is a High Severity vulnerability discovered in FFmpeg's libavcodec MagicYUV decoder.
The vulnerability is caused by improper bounds validation during frame decoding, allowing specially crafted media files to write beyond allocated memory.
Applications that automatically process uploaded or downloaded videos may become vulnerable without requiring user interaction.
The MagicYUV decoder fails to correctly validate certain dimensions and memory boundaries while decoding specially crafted frames.
This enables writes outside the intended heap buffer, corrupting adjacent memory structures.
Memory corruption may lead to:
Attacker
│
│ Uploads malicious MagicYUV video
▼
Media Server / Desktop Application
│
│ FFmpeg parses file
▼
MagicYUV Decoder
│
│ Out-of-Bounds Write
▼
Memory Corruption
│
├── Application Crash
├── Service Disruption
└── Potential Remote Code Execution
Applications embedding FFmpeg may be affected, including:
✅ Upgrade to FFmpeg 8.1.2 or later
✅ Reject untrusted uploads
✅ Sandbox media processing
✅ Isolate transcoding services
✅ Disable automatic preview generation for untrusted content when possible
✅ Apply vendor security updates promptly
Security teams should monitor for:
| Product | Fixed Version |
|---|---|
| FFmpeg | 8.1.2+ |
Any application that automatically decodes user-controlled media files should be updated immediately.
Attackers often exploit media parsing vulnerabilities because simply processing a file may be enough to trigger memory corruption.
⭐ If this repository helped your research, consider giving it a star.
| Field | Value |
|---|
| CVE | CVE-2026-8461 |
| Codename | PixelSmash |
| Severity | 🔴 High |
| CVSS | 8.8 |
| CWE | CWE-787 (Out-of-Bounds Write) |
| Component | libavcodec |
| Codec | MagicYUV |
| Attack Vector | Crafted Media File |
| User Interaction | Required (opening/processing media) |
| Impact | Crash / Memory Corruption / Potential RCE |
| Category | Rating |
|---|
| Severity | 🔴 High |
| Exploitability | High |
| Attack Complexity | Low |
| Privileges Required | None |
| Confidentiality | High |
| Integrity | High |
| Availability | High |