Skip to content
OpenAdvisories
High · 8.8 CVE-2026-66041 EUVD-2026-48743GHSA-frhp-m687-9g3q

FFmpeg 7.0 - 8.1.2 Heap Out-of-Bounds Write via vf_quirc Filter

Published Jul 24, 2026 · Updated Jul 29, 2026 · Assigned by VulnCheck

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

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

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:9.0.2-1 —
Debian 13 ffmpeg No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ffmpeg No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS ffmpeg No fix yet —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Wolfi rolling ffmpeg-7 No fix yet —

Advisories 5

References