Description
FFmpeg through 8.1.2, fixed in commit 5d7112c, contains a heap out-of-bounds write vulnerability in the vf_hqdn3d filter that allows attackers to corrupt heap memory by supplying a crafted video whose frame resolution increases between frames when filtergraph reinitialization is disabled via the -reinit_filter 0 option. Attackers can provide a malicious video input where vf_hqdn3d.config_input() allocates undersized per-plane line-history buffers based on the initial frame width, and subsequent larger frames cause denoise_spatial() to write beyond the allocation boundary, resulting in heap memory corruption.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | ≤ 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 | — |
| Debian 12 | ffmpeg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ffmpeg | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ffmpeg | 7:8.0.1-3ubuntu2+esm3 | USN-8738-1 |
| Ubuntu Pro 24.04 LTS | ffmpeg | 7:6.1.1-3ubuntu5+esm11 | USN-8671-1 |
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm13 | USN-8671-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm14 | USN-8671-1 |
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm13 | USN-8671-1 |
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm15 | USN-8671-1 |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux Ai 3 | ffmpeg +18 | 6.1.6-7.el9ai | RHSA-2026:74089, RHSA-2026:66381, RHSA-2026:60336 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES 15 SP7 | ffmpeg-4 | 4.4.8-150600.13.55.1 | SUSE-SU-2026:4149-1 |
| SLES 15 SP6 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES 15 SP5 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES 15 SP4 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.75.1 | SUSE-SU-2026:4150-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES for SAP 15 SP5 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES for SAP 15 SP4 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLES for SAP 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.75.1 | SUSE-SU-2026:4150-1 |
| SLE HPC 15 SP5 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLE HPC 15 SP4 | ffmpeg | 3.4.2-150200.11.79.1 | SUSE-SU-2026:3934-1 |
| SLE HPC 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.75.1 | SUSE-SU-2026:4150-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.8-4.1 | openSUSE-SU-2026:11563-1 |
| openSUSE Tumbleweed | ffmpeg-7 | 7.1.5-2.1 | openSUSE-SU-2026:11665-1 |
| openSUSE Tumbleweed | ffmpeg-8 | 8.1.2-3.1 | openSUSE-SU-2026:11682-1 |
| openSUSE Tumbleweed | ffmpeg-9 | 9.0.1-2.1 | openSUSE-SU-2026:11545-1 |
| openSUSE Leap 16.0 | ffmpeg-7 | 7.1.5-160000.1.1 | openSUSE-SU-2026:21877-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ffmpeg-7 +2 | No fix yet | — |
| Wolfi rolling | ffmpeg-8.1 | 8.1.3-r0 | — |
Advisories 16
- WID-SEC-2026-2526 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- RHSA-2026:74089 Red Hat Security Advisory: RHEL AI 3.0 RPM runtime CVE fix - ffmpeg Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:66381 Red Hat Security Advisory: RHEL AI 3.6 RPM runtime CVE fix - ffmpeg Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:60336 Red Hat Security Advisory: RHEL AI 3.3 RPM runtime CVE fix - ffmpeg Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:60334 Red Hat Security Advisory: RHEL AI 3.4 RPM runtime CVE fix - ffmpeg Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:60335 Red Hat Security Advisory: RHEL AI 3.5 RPM runtime CVE fix - ffmpeg Red Hat Security Advisories (RHSA) · Oct 15, 2026
- openSUSE-SU-2026:21877-1 Security update for ffmpeg-7 SUSE / openSUSE Security Updates · Sep 25, 2026
- SUSE-SU-2026:4149-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:4150-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Sep 15, 2026
- SUSE-SU-2026:3934-1 Security update for ffmpeg SUSE / openSUSE Security Updates · Sep 10, 2026
- USN-8738-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- openSUSE-SU-2026:11682-1 ffmpeg-8-8.1.2-3.1 on GA media SUSE / openSUSE Security Updates · Sep 5, 2026
- openSUSE-SU-2026:11665-1 ffmpeg-7-7.1.5-2.1 on GA media SUSE / openSUSE Security Updates · Sep 3, 2026
- USN-8671-1 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Aug 25, 2026
- openSUSE-SU-2026:11563-1 ffmpeg-4-4.4.8-4.1 on GA media SUSE / openSUSE Security Updates · Aug 22, 2026
- openSUSE-SU-2026:11545-1 ffmpeg-9-libavcodec-devel-9.0.1-2.1 on GA media SUSE / openSUSE Security Updates · Aug 21, 2026
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/ffmpeg-heap-out-of-bounds-write-in-vf-hqdn3d-filter third-party-advisory