CVE-2026-66041

FFmpeg · FFmpeg

A heap-based out-of-bounds write vulnerability in the FFmpeg vf_quirc filter allows for potential arbitrary code execution or system instability.

Executive summary

A critical out-of-bounds write vulnerability in FFmpeg versions 7.0 through 8.1.2 poses a significant risk of memory corruption and potential code execution.

Vulnerability

This is an out-of-bounds write vulnerability (CWE-787) occurring within the vf_quirc filter. The vulnerability can be triggered by an unauthenticated attacker providing a maliciously crafted media file that requires user interaction to process.

Business impact

Successful exploitation of this memory corruption vulnerability can lead to a complete compromise of the application process. Given the CVSS score of 8.8, the impact on confidentiality, integrity, and availability is high, potentially leading to unauthorized data access or service disruption within environments that utilize FFmpeg for media processing.

Remediation

Immediate Action: Update FFmpeg to the latest version, or apply the specific fix provided in the upstream commit 4da9812e25894fb51d62a8875cfa8eb39b5e20f5.

Proactive Monitoring: Monitor system logs for unexpected crashes or error patterns in media processing services, which may indicate attempts to trigger memory corruption.

Compensating Controls: Restrict the ingestion of untrusted or externally sourced media files to isolated, sandboxed environments to limit the potential impact of a successful exploit.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The high severity of this vulnerability necessitates immediate attention. Organizations relying on FFmpeg should prioritize the deployment of the provided upstream fix to prevent potential remote code execution scenarios.