CVE-2026-66041VulnerabilityPublished 07/24/2026Updated 10/17/2026
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… (CVE-2026-66041)
Affects ffmpegSource GCVE Database
CVSS 3.1 base score
8.8Medium
- Exploitation
Not in CISA KEV, no exploitation reported
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 41% of CVEs
- Patch
- Available – fixed in 8.1.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWhat to do
AI-suggested
Upgrade FFmpeg to version 8.1.3 or later, where the vulnerability has been fixed in commit 4da9812. No other mitigation is indicated by the vendor advisory.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHub Actionsffmpeg/FFmpegpkg:github/ffmpeg/FFmpegOther threats | Affected
| Fixed in
|
Ubuntu:26.10ffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu:Pro:26.04:LTSffmpegpkg:deb/ubuntu/ffmpeg?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
FFmpeg versions 7.0 through 8.1.2 contain a heap out-of-bounds write vulnerability in the vf_quirc filter. This vulnerability occurs when processing crafted PGS/SUP subtitle files with mismatched frame dimensions, potentially leading to heap corruption, process crashes, or code execution. The issue is fixed in version 8.1.3 and later.
Weaknesses
References
- nvd.nist.gov/vuln/detail/CVE-2026-66041 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/4da9812e25894fb51d62a8875cfa8eb39b5e20f5 (opens in a new tab)
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23625 (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-via-vf-quirc-filter (opens in a new tab)
- ubuntu.com/security/CVE-2026-66041 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-66041 (opens in a new tab)