CVE-2026-8461
FFmpeg · libavcodec
An out-of-bounds write vulnerability in FFmpeg's MagicYUV decoder allows for denial-of-service and potential remote code execution via malicious video files.
Executive summary
A high-severity out-of-bounds write vulnerability in the FFmpeg MagicYUV decoder could lead to remote code execution when processing untrusted video content.
Vulnerability
The vulnerability is an out-of-bounds write (CWE-787) within the MagicYUV decoder in libavcodec/magicyuv.c. When the library processes a maliciously crafted video file, it can trigger memory corruption that may result in service crashes or the execution of arbitrary code.
Business impact
Services that automatically process user-uploaded video content are at the highest risk. Successful exploitation could lead to full system compromise of the processing server. With a CVSS score of 8.8, this represents a significant security risk for any platform utilizing FFmpeg for media transcoding.
Remediation
Immediate Action: Update the FFmpeg installation to version 8.1.2 or later to include the necessary security patches.
Proactive Monitoring: Implement robust validation for all user-uploaded media files and monitor system logs for crashes or abnormal behavior in media processing threads.
Compensating Controls: Run media processing tasks within a sandboxed or containerized environment with minimal privileges to limit the impact of a potential code execution event.
Exploitation status
Public Exploit Available: false
Analyst recommendation
Given that media processing services are often exposed to untrusted input, the risk of exploitation is substantial. Developers and system administrators must prioritize upgrading their FFmpeg libraries to version 8.1.2 to secure their environments against this memory corruption vulnerability.