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

EPSS: 0.003 (26.2th percentile) — read the EPSS interpretation.

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.

Affected products

  • Ffmpeg — versions 4.4, 4c6217477fc64305055b37d9d1d0d76d30e37f97

Weakness classification (CWE)

References

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.