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.
References
| Link | Resource |
|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/4c6217477fc64305055b37d9d1d0d76d30e37f97 | Patch |
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23664 | Issue Tracking Patch |
| https://www.vulncheck.com/advisories/ffmpeg-double-free-in-nvdec-hardware-decoder-via-nvdec-c | Third Party Advisory |
Configurations
History
28 Jul 2026, 17:01
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Ffmpeg
Ffmpeg ffmpeg |
|
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/4c6217477fc64305055b37d9d1d0d76d30e37f97 - Patch | |
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23664 - Issue Tracking, Patch | |
| References | () https://www.vulncheck.com/advisories/ffmpeg-double-free-in-nvdec-hardware-decoder-via-nvdec-c - Third Party Advisory | |
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* |
22 Jul 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-22 18:17
Updated : 2026-07-28 17:01
NVD link : CVE-2026-64832
Mitre link : CVE-2026-64832
CVE.ORG link : CVE-2026-64832
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-415
Double Free
