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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | 7.0 – ≤ 8.1.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ffmpeg | 7:9.0.2-1 | — |
| Debian 13 | ffmpeg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ffmpeg | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | ffmpeg-7 | 7.1.4-160000.3.1 | SUSE-SU-2026:23232-1, SUSE-SU-2026:23222-1 |
| SLES 16.0 | ffmpeg-7 | 7.1.4-160000.3.1 | SUSE-SU-2026:23232-1, SUSE-SU-2026:23222-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-7 | 7.1.5-2.1 | openSUSE-SU-2026:11665-1 |
| openSUSE Leap 16.0 | ffmpeg-7 | 7.1.4-160000.3.1 | openSUSE-SU-2026:21572-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ffmpeg-7 | No fix yet | — |
Advisories 5
- WID-SEC-2026-2526 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 29, 2026
- openSUSE-SU-2026:11665-1 ffmpeg-7-7.1.5-2.1 on GA media SUSE / openSUSE Security Updates · Sep 3, 2026
- SUSE-SU-2026:23232-1 Security update for ffmpeg-7 SUSE / openSUSE Security Updates · Aug 27, 2026
- SUSE-SU-2026:23222-1 Security update for ffmpeg-7 SUSE / openSUSE Security Updates · Aug 27, 2026
- openSUSE-SU-2026:21572-1 Security update for ffmpeg-7 SUSE / openSUSE Security Updates · Aug 14, 2026
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-via-vf-quirc-filter third-party-advisory