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.
Published: 2026-07-22
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

FFmpeg versions 4.4 through 8.1.2 contain a double‑free flaw in the NVIDIA NVDEC hardware decoder, identified as CWE-415. The bug manifests when the decoder's error path frees the frame description data twice, first through nvdec_fdd_priv_free and then by the calling layer. This double‑free corrupts the underlying decoder context memory and can allow an attacker to execute arbitrary code or crash the application that uses FFmpeg’s NVDEC accelerated decoding.

Affected Systems

Any installation of FFmpeg 4.4 up to and including 8.1.2 running on FFmpeg and invoking NVDEC decoding with user‑supplied video inputs are at risk.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity and potential to compromise confidentiality, integrity, and availability. The EPSS score is < 1%, indicating a very low but non‑zero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, implying no publicly known exploit yet. The likely attack vector is local or remote delivery of a crafted video file that triggers the double‑free when a video stream is processed. Exploitation requires the attacker to supply the malicious file to a running FFmpeg instance that uses NVDEC accelerated decoding.

Generated by OpenCVE AI on August 3, 2026 at 23:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest FFmpeg release that fixes NVDEC double‑free (any post‑8.1.2 version).
  • Temporarily disable NVDEC hardware acceleration or reconfigure FFmpeg to use software decoding until a patch is installed.
  • Limit processing of untrusted video files by isolating FFmpeg in a sandboxed environment or defining an access control policy to restrict input sources.

Generated by OpenCVE AI on August 3, 2026 at 23:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Thu, 23 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg 4.4 - 8.1.2 Double-Free in NVDEC Hardware Decoder via nvdec.c
Weaknesses CWE-415
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:06:03.370Z

Reserved: 2026-07-20T18:27:48.161Z

Link: CVE-2026-64832

cve-icon Vulnrichment

Updated: 2026-07-22T18:05:21.944Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T18:17:05.483

Modified: 2026-07-28T17:01:21.170

Link: CVE-2026-64832

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses