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.
The product calls free() twice on the same memory address.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Ffmpeg | Ffmpeg | 4.4 (including) | 8.1.2 (including) |
| Red Hat Enterprise Linux AI 3.0 for RHEL 9 | RedHat | ffmpeg-0:6.1.6-10.el9ai | * |
| Red Hat Enterprise Linux AI 3.4 for RHEL 9 | RedHat | ffmpeg-0:6.1.6-10.el9ai | * |
| Red Hat Enterprise Linux AI 3.5 for RHEL 9 | RedHat | ffmpeg-0:6.1.6-10.el9ai | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-tpu-rhel9:1794418208 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-cuda-12.9-rhel9:1794417926 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-cuda-13.0-rhel9:1794418373 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-gaudi-rhel9:1794418504 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-rocm-6.4-rhel9:1794418264 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-spyre-rhel9:1794418410 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-rocm-7.1-rhel9:1794419185 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-neuron-rhel9:1794419185 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhai/base-image-cpu-rhel9:1794418209 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-cuda-13.0-rhel9:1794259958 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-neuron-rhel9:1794259318 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-gaudi-rhel9:1794259380 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-rubin-rhel9:1794259862 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-cpu-rhel9:1794259110 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-rocm-7.14-rhel9:1794259559 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-tpu-rhel9:1794259807 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-cuda-12.9-rhel9:1794259456 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhai/base-image-spyre-rhel9:1794259162 | * |
| Ffmpeg | Ubuntu | devel | * |
| Ffmpeg | Ubuntu | esm-apps/jammy | * |
| Ffmpeg | Ubuntu | esm-apps/noble | * |
| Ffmpeg | Ubuntu | esm-apps/resolute | * |
| Ffmpeg | Ubuntu | jammy | * |
| Ffmpeg | Ubuntu | noble | * |
| Ffmpeg | Ubuntu | resolute | * |
| Ffmpeg | Ubuntu | stonking | * |
| Ffmpeg | Ubuntu | upstream | * |