WhatCyber / Vulnerabilities / CVE-2026-66041
CVE-2026-66041: ffmpeg
HIGH severity
CVE-2026-66041 affects ffmpeg. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 8.8 (high). The EPSS model puts the chance of exploitation in the next 30 days at 0.5%.
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.
Key facts
- CVSS v3
- 8.8 (HIGH)
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-07-24
- Last modified
- 2026-10-24
- NVD status
- Analyzed
Timeline
- July 24, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- ffmpeg ffmpeg
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/4da9812e25894fb51d62a8875cfa8eb39b5e20f5
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23625
- https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-via-vf-quirc-filter