CVE-2026-64832
JSON

8.7high

FFmpeg 4.4 - 8.1.2 Double-Free in NVDEC Hardware Decoder via nvdec.c

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
FFmpeg FFmpegfrom 4.4 up to 8.1.2, 4c6217477fc64305055b37d9d1d0d76d30e37f97CVE List, NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-415

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de FFmpeg 4.4 a 8.1.2 contienen una vulnerabilidad de doble liberación de memoria (double-free) en el decodificador de hardware NVIDIA NVDEC dentro de libavcodec/nvdec.c que permite a los atacantes provocar corrupción de memoria al proporcionar un archivo de video manipulado. Cuando no quedan superficies de decodificador, la ruta de error ff_nvdec_start_frame_sep_ref libera memoria a través de nvdec_fdd_priv_free mientras que la capa llamante libera posteriormente los mismos datos de descripción de fotograma, lo que resulta en una doble liberación de memoria (double-free) del contexto del decodificador subyacente en cualquier aplicación basada en FFmpeg que utilice la decodificación acelerada por hardware NVDEC.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64832 changed 2026-07-28CVE Terms of Use
NVDCVE-2026-64832 changed 2026-10-24Public domain