# CVE-2026-66041: ffmpeg: FFmpeg 7.0 through 8.1.2, fixed in commit 4da9812, contains a heap out-of-bounds write vulnerability in the vf_quirc...

CVE-2026-66041 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-66041, released July 24, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-66041
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0049
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 24, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ffmpeg Debian 14 | 7:9.0.2-1 | [DEBIAN-CVE-2026-66041](https://patchblox.com/security/data/fix/linux/debian-cve-2026-66041.md) | Jul 24, 2026 |
| Linux | ffmpeg-7 opensuse-leap 16.0 | 7.1.4-160000.3.1 | [OPENSUSE-SU-2026:21572-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21572-1.md) | Aug 12, 2026 |
| Linux | ffmpeg-7 sles 16.0 | 7.1.4-160000.3.1 | [SUSE-SU-2026:23232-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23232-1.md) | Aug 12, 2026 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
