Double Free in Ffmpeg
CVE-2026-64832
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (25.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 26th percentile — 25.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.003 · change: -0.002
Affected products
- Ffmpeg — versions 4.4, 4c6217477fc64305055b37d9d1d0d76d30e37f97
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23664 (issue-tracking, Patch, Issue Tracking)
- code.ffmpeg.org/FFmpeg/FFmpeg/commit/4c6217477fc64305055b37d9d1d0d76d30e37f97 (Patch, patch)
- www.vulncheck.com/advisories/ffmpeg-double-free-in-nvdec-hardware-decoder-via-n… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-64832?
- CVE-2026-64832 is a high-severity vulnerability in Ffmpeg, classified under Double Free. CVSS score: 8.8/10. Published 2026-07-22.
- How severe is CVE-2026-64832?
- High severity. CVSS v3 base score is 8.8 out of 10.