CVE-2026-8461
Ffmpeg Analyse et atténuation des vulnérabilités

Aperçu

CVE-2026-8461 is an out-of-bounds write vulnerability in FFmpeg's libavcodec library, specifically within the MagicYUV decoder (libavcodec/magicyuv.c). It allows remote attackers to cause denial-of-service and, in certain conditions, achieve remote code execution by convincing a user to open a crafted MagicYUV-encoded media file. The vulnerability affects all FFmpeg versions before 8.1.2 and was disclosed on June 18, 2026, with the CVE assigned by JFrog. It carries a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory).

Détails techniques

The root cause is an out-of-bounds write (CWE-787) in the MagicYUV video decoder within FFmpeg's libavcodec library. When processing a specially crafted MagicYUV-encoded media file, the decoder writes data beyond the bounds of an allocated buffer, corrupting adjacent memory. The attack vector is network-based with low complexity, requiring no privileges but necessitating user interaction (e.g., opening a malicious media file). A patch was submitted via FFmpeg's code review system (GitHub Advisory, FFmpeg PR).

Impact

Successful exploitation can result in denial-of-service through application crash, or in more severe cases, arbitrary code execution with the privileges of the FFmpeg process. An attacker who achieves code execution could access sensitive data, modify files, or use the compromised process as a foothold for lateral movement within the affected environment. All three security dimensions — confidentiality, integrity, and availability — are rated High (GitHub Advisory).

Étapes d’exploitation

  1. Craft malicious media file: Create a specially crafted MagicYUV-encoded video file that triggers the out-of-bounds write in libavcodec/magicyuv.c when decoded by a vulnerable FFmpeg version (before 8.1.2).
  2. Deliver the payload: Distribute the malicious file via email attachment, web download, or embedded in a media-sharing platform, targeting users or applications that process video with FFmpeg.
  3. Trigger decoding: Convince the target user or automated pipeline to open or process the malicious file with a vulnerable FFmpeg build, initiating the MagicYUV decoding path.
  4. Exploit memory corruption: The out-of-bounds write corrupts adjacent heap memory; depending on memory layout, this may cause a crash (DoS) or enable control-flow hijacking for arbitrary code execution with the privileges of the FFmpeg process (GitHub Advisory).

Indicateurs de compromis

  • Process: FFmpeg process crashing unexpectedly or producing segmentation faults when processing MagicYUV-encoded media files.
  • Logs: Application or system logs showing FFmpeg crashes (SIGSEGV, SIGABRT) originating from libavcodec/magicyuv.c or related stack frames.
  • File System: Unexpected or suspicious MagicYUV-encoded media files (.mkv, .avi, or other containers) received from untrusted sources in media processing directories.
  • Network: Unusual inbound delivery of media files from unknown or untrusted external sources to systems running FFmpeg-based processing pipelines.

Atténuation et solutions de contournement

The primary remediation is to upgrade FFmpeg to version 8.1.2 or later, which contains the fix for this vulnerability (GitHub Advisory, FFmpeg PR). Until patching is feasible, organizations should implement input validation to reject untrusted or unexpected MagicYUV-encoded media files, restrict FFmpeg usage to trusted media sources only, and run FFmpeg processes under least-privilege accounts to limit the blast radius of any successful exploitation.

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté Ffmpeg Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-40962CRITICAL9.8
  • FfmpegFfmpeg
  • libavresample4_0
NonOuiApr 16, 2026
CVE-2026-8461HIGH8.8
  • FfmpegFfmpeg
  • cpe:2.3:a:ffmpeg:ffmpeg
NonOuiJun 18, 2026
CVE-2026-30999HIGH7.5
  • FfmpegFfmpeg
  • ffmpeg-debuginfo
NonOuiApr 13, 2026
CVE-2026-12706MEDIUM6.5
  • FfmpegFfmpeg
  • ffmpeg
NonOuiJun 19, 2026
CVE-2026-6385MEDIUM6.5
  • FfmpegFfmpeg
  • ffmpeg
NonOuiApr 15, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités