Skip to main content

FFmpeg CVE-2026-8461

| EUVDEUVD-2026-37878 HIGH
Out-of-bounds Write (CWE-787)
2026-06-18 JFROG GHSA-qff7-4q6c-m8h6
8.8
CVSS 3.1 · Vendor: JFROG
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious MagicYUV media file
  2. Delivery
    Deliver via upload, link, or attachment
  3. Exploit
    Victim or transcoder feeds file to libavcodec
  4. Execution
    MagicYUV decoder writes out of bounds
  5. Persist
    Heap corruption crashes process or hijacks control flow
  6. Impact
    Execute code as media-handling user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to decode an attacker-supplied MagicYUV-encoded stream through FFmpeg's libavcodec MagicYUV decoder (libavcodec/magicyuv.c) on a version before 8.1.2; the CVSS UI:R metric reflects that a user or automated pipeline must actually open or process the malicious file. Limiting factors: builds that have disabled the MagicYUV decoder at compile time are not vulnerable, ingest pipelines that whitelist a small set of codecs and reject MagicYUV cannot reach the vulnerable code path, and reliable code execution (versus DoS) further depends on the target's heap allocator, ASLR, and process mitigations. Server-side transcoders that accept arbitrary user uploads effectively satisfy the UI:R requirement automatically.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H scores 8.8 and reflects a network-reachable, low-complexity, unauthenticated attack requiring user interaction (opening or processing a malicious media file), with full CIA impact consistent with potential RCE. The 'denial-of-service and, in some cases, ... remote code execution' wording in the description is honest about uncertainty: reliable RCE from an OOB write depends on heap layout, ASLR, and mitigations, so DoS is the guaranteed outcome and RCE is opportunistic. EPSS, CISA KEV status, and POC availability were not provided in the input - absence of these signals is not evidence of safety, especially given the JFROG reporter and the public PR reference, which suggests a patch and likely details will surface quickly. Real-world risk is elevated for any service that automatically transcodes user-uploaded media (CDN ingest, video sharing, chat attachments), where 'user interaction' is effectively automated by the server.

Exploit ScenarioDerived

An attacker crafts a malicious video file containing a malformed MagicYUV stream and delivers it via a video sharing site, chat attachment, email, or a URL that a media player or server-side transcoder will fetch. When the victim opens the file (or a backend transcoder automatically processes the upload), libavcodec's MagicYUV decoder writes out of bounds while parsing attacker-controlled fields, crashing the process at minimum and potentially executing attacker-controlled code with the privileges of the media-handling process. No public exploit identified at time of analysis, but the JFROG disclosure and public upstream PR make exploit development plausible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

Out-of-bounds write in FFmpeg's libavcodec MagicYUV decoder (libavcodec/magicyuv.c) affects all FFmpeg versions before 8.1.2, allowing remote attackers to cause denial-of-service and potentially achieve remote code execution when a victim processes a crafted MagicYUV-encoded media file. No public exploit identified at time of analysis, but the broad deployment of FFmpeg across media players, transcoding pipelines, browsers, and server-side processing makes this a high-priority patch. EPSS and CISA KEV data were not provided in the input.

RemediationAI

Upstream fix available (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23159); released patched version 8.1.2 is referenced in the description but should be verified against the official FFmpeg release once tags are published. Upgrade FFmpeg and any redistributed libavcodec to 8.1.2 or later, and rebuild downstream applications that statically link libavcodec. If immediate patching is not possible, compensating controls include disabling the MagicYUV decoder at build time (configure with --disable-decoder=magicyuv), filtering MagicYUV input at ingest by rejecting FourCC 'MAGY' / 'M8RG' / 'M8RA' / 'M8G0' / 'M8Y0' etc. before handoff to libavcodec, or sandboxing transcoder workers (seccomp, gVisor, separate user namespace) so an exploited decoder cannot pivot - note the trade-off that disabling the decoder will break legitimate MagicYUV workflows (typically video editors), and ingest filtering by FourCC can be bypassed by containers that re-tag streams.

Affected VersionsENISA

FFmpeg 0 <8.1.2

Affected Packages

euvd ffmpeg fix: 8.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg is the de facto open-source multimedia framework used for decoding, encoding, transcoding, and streaming audio/video across countless desktop applications, mobile apps, cloud media pipelines, and embedded devices. libavcodec is FFmpeg's codec library, and the affected component is the MagicYUV decoder - MagicYUV is a fast lossless intermediate codec commonly used in video editing workflows. The root cause is CWE-787 (Out-of-bounds Write), meaning the decoder writes data past the bounds of an allocated buffer while parsing attacker-controlled MagicYUV bitstream fields, which can corrupt adjacent heap memory and, with appropriate heap grooming, lead to control-flow hijack. The affected CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* covers all upstream FFmpeg builds prior to 8.1.2; downstream redistributors (Linux distros, Homebrew, application bundles statically linking libavcodec) inherit the flaw until they rebase.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (JFROG) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-delivered malicious file requires user/pipeline to decode it (UI:R, PR:N); reliable RCE from an OOB write depends on heap state and mitigations, justifying AC:H over AC:L, with full CIA impact on the decoding process.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 8.8 HIGH

Primary rating from Vendor (JFROG).

CVSS VectorVendor: JFROG

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 18, 2026 - 13:46 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A remote code execution vulnerability in FFmpeg's MagicYUV decoder (CVE-2026-8461, CVSS 8.8) exposes organizations processing video content to compromise through specially crafted media files. FFmpeg's pervasive deployment across media players, streaming platforms, transcoding services, and browser infrastructure means this vulnerability impacts nearly all organizations handling multimedia assets. The absence of an available vendor patch requires immediate compensating controls to reduce organizational risk.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) disable MagicYUV codec support for non-essential workflows; (2) process only trusted media sources until patch availability; (3) run media processing in isolated, unprivileged containers with restricted network access; (4) implement content-based restrictions on file format processing; (5) establish continuous vendor advisory monitoring for patch release notifications.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy