CVE-2026-66036
FFmpeg · FFmpeg
A heap-based buffer overflow in the FFmpeg vf_hqdn3d filter allows for potential memory corruption when processing malformed media files.
Executive summary
A critical heap-based buffer overflow in FFmpeg versions through 8.1.2 presents a severe risk of memory corruption and potential arbitrary code execution.
Vulnerability
The vulnerability is a heap-based buffer overflow (CWE-122) located in the vf_hqdn3d filter. An unauthenticated attacker could trigger this flaw by enticing a user to process a specially crafted media file.
Business impact
With a CVSS score of 8.8, this vulnerability carries significant risk. Exploitation could lead to unauthorized code execution, resulting in total system compromise or service instability, which is particularly concerning for servers and applications that handle high volumes of untrusted user-uploaded media.
Remediation
Immediate Action: Update to the latest version of FFmpeg or apply the fix found in commit 5d7112c60e6f0f0742ce47d448e6da0718a70f4c.
Proactive Monitoring: Review application logs for unusual process terminations or memory-related errors during media transcoding or filtering operations.
Compensating Controls: Deploy Web Application Firewalls or input validation layers to inspect media files for malformed headers before they reach the FFmpeg processing engine.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the ubiquity of FFmpeg in modern software stacks, administrators must treat this as a high-priority update. Ensure that all downstream applications utilizing this library are patched to the latest version immediately.