Description
FFmpeg versions 4.4 through 8.1.2 contain a double-free vulnerability in the NVIDIA NVDEC hardware decoder within libavcodec/nvdec.c that allows attackers to trigger memory corruption by supplying a crafted video file. When no decoder surfaces remain, the ff_nvdec_start_frame_sep_ref error path frees memory via nvdec_fdd_priv_free while the calling layer subsequently frees the same frame description data, resulting in a double-free of the underlying decoder context in any FFmpeg-based application using NVDEC hardware-accelerated decoding.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FFmpeg | FFmpeg | 4.4 – ≤ 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+esm4 | USN-8716-2 |
| Ubuntu Pro 24.04 LTS | ffmpeg | 7:6.1.1-3ubuntu5+esm13 | USN-8716-1 |
| Ubuntu Pro 22.04 LTS | ffmpeg | 7:4.4.2-0ubuntu0.22.04.1+esm15 | USN-8716-1 |
| Ubuntu Pro 20.04 LTS | ffmpeg | 7:4.2.7-0ubuntu0.1+esm16 | USN-8716-1 |
| Ubuntu Pro 18.04 LTS | ffmpeg | 7:3.4.11-0ubuntu0.1+esm15 | USN-8716-1 |
| Ubuntu Pro 16.04 LTS | ffmpeg | 7:2.8.17-0ubuntu0.1+esm17 | USN-8716-1 |
| Ubuntu Pro 14.04 LTS | libav | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ffmpeg-4 | 4.4.8-150600.13.52.1 | SUSE-SU-2026:3542-1 |
| SLES 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.72.1 | SUSE-SU-2026:3529-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| 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 for SAP 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.72.1 | SUSE-SU-2026:3529-1 |
| SLES 16.0 | ffmpeg-7 | 7.1.4-160000.3.1 | SUSE-SU-2026:23232-1, SUSE-SU-2026:23222-1 |
| SLE HPC 15 SP4 | ffmpeg-4 | 4.4.8-150400.3.72.1 | SUSE-SU-2026:3529-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ffmpeg-4 | 4.4.8-3.1 | openSUSE-SU-2026:11448-1 |
| openSUSE Tumbleweed | ffmpeg-7 | 7.1.5-2.1 | openSUSE-SU-2026:11665-1 |
| openSUSE Leap 16.0 | ffmpeg-4 | 4.4.7-bp160.3.1 | openSUSE-SU-2026:21522-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 11
- WID-SEC-2026-2491 ffmpeg: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- USN-8716-2 ffmpeg vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- USN-8716-1 Several security issues were fixed in FFmpeg. Ubuntu Security Notices (USN) · Sep 3, 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
- SUSE-SU-2026:3542-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Aug 11, 2026
- SUSE-SU-2026:3529-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Aug 8, 2026
- openSUSE-SU-2026:21522-1 Security update for ffmpeg-4 SUSE / openSUSE Security Updates · Aug 5, 2026
- openSUSE-SU-2026:11448-1 ffmpeg-4-4.4.8-3.1 on GA media SUSE / openSUSE Security Updates · Aug 5, 2026
References
- Pull Request issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/ffmpeg-double-free-in-nvdec-hardware-decoder-via-nvdec-c third-party-advisory