Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.7

CVE-2026-66041: FFmpeg 7.0 - 8.1.2: Malicious Subtitles Can Crash or Hack Your System

CVE-2026-66041 CVE-2026-66041
Summary

The FFmpeg media processing software has a security flaw that can be exploited by providing a specially crafted subtitle file. This could cause the system to crash or potentially allow an attacker to take control of the system. Update to a fixed version of FFmpeg to protect your system.

What to do

No fix is available yet. Check with your software vendor for updates.

Affected software
VendorProductAffected versions
ffmpeg ffmpeg <= 8.1.2
Original title
FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write vulnerability in the vf_quirc filter that allows an attacker to corrupt heap memory by supplying a crafted PGS...
Original description
FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write vulnerability in the vf_quirc filter that allows an attacker to corrupt heap memory by supplying a crafted PGS/SUP subtitle file with mismatched frame dimensions. Attackers can provide a subtitle file whose second presentation has larger dimensions than its first, causing av_image_copy_plane() to copy data exceeding the initial allocation size into the undersized libquirc grayscale image buffer, resulting in heap corruption and process crash with potential for code execution.
mitre CVSS3.1 8.8
Vulnerability type
CWE-787 Out-of-bounds Write
Published: 24 Jul 2026 · Updated: 25 Jul 2026 · First seen: 24 Jul 2026