Skip to main content

FFmpeg CVE-2026-64832

| EUVDEUVD-2026-47756 HIGH
Double Free (CWE-415)
2026-07-22 VulnCheck GHSA-jc8j-9799-c943
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious video exhausting NVDEC surfaces
  2. Delivery
    Deliver file to victim decoder
  3. Exploit
    Trigger error path in nvdec.c
  4. Execution
    Double-free frame description data
  5. Persist
    Corrupt heap allocator metadata
  6. Impact
    Crash or execute code in decode context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires the target application to be built with NVIDIA NVDEC hardware-accelerated decoding and running on NVIDIA GPU hardware - software-only or non-NVIDIA deployments are not affected. The attacker must supply a crafted video file, and per CVSS UI:P a victim must decode that file (open/upload/transcode it), so this is not a fully autonomous remote attack. The specific trigger condition is decoder-surface exhaustion ("when no decoder surfaces remain"), which drives execution into the ff_nvdec_start_frame_sep_ref error path where nvdec_fdd_priv_free double-frees the frame description data. Limiting factors: required user interaction, dependence on a non-default NVDEC build/configuration, and NVIDIA-only platform requirement; no authentication is required (PR:N).

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, score 8.7) describes a network-delivered but user-interaction-dependent flaw with high confidentiality, integrity and availability impact and no scope change to subsequent systems - consistent with a client-side media-processing bug rather than a server-side pre-auth RCE. The UI:P (passive interaction) metric is the key limiter: a victim must actually decode the malicious file through an NVDEC-enabled build, which narrows the real-world attack surface to environments that use NVIDIA GPU hardware decoding. No EPSS score, KEV listing, or SSVC decision data was provided, so probabilistic exploitation signals are unavailable; combined with no public POC, this reads as a real but not urgently-mass-exploited issue. Note a caveat: double-free bugs frequently yield reliable crashes/DoS but achieving VI:H/VC:H (code execution) depends on heap layout and mitigations, so the vendor's high integrity/confidentiality ratings represent worst-case potential rather than a demonstrated exploit - verify exploitability against the specific build before treating VI:H as confirmed.

Exploit ScenarioDerived

An attacker crafts a video file whose stream forces NVDEC to exhaust its decoder surfaces, then delivers it via a website, media upload, or messaging so a victim's NVDEC-enabled player or server-side transcoder decodes it. Processing triggers the error path in ff_nvdec_start_frame_sep_ref, double-freeing the frame description data and corrupting the heap, which at minimum crashes the process and may enable code execution in the decoding context. No public exploit is currently identified, so this remains a plausible rather than demonstrated attack.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Memory corruption in FFmpeg 4.4 through 8.1.2 lets an attacker trigger a double-free in the NVIDIA NVDEC hardware decoder (libavcodec/nvdec.c) by getting a victim to process a crafted video file, potentially leading to code execution or crash in any NVDEC-accelerated pipeline. The flaw sits in the ff_nvdec_start_frame_sep_ref error path, which frees frame description data via nvdec_fdd_priv_free while the calling layer later frees the same object. No public exploit identified at time of analysis; a vendor upstream fix commit is available, and CVSS 4.0 is rated 8.7 (High).

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the upstream FFmpeg fix commit 4c6217477fc64305055b37d9d1d0d76d30e37f97 (https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/4c6217477fc64305055b37d9d1d0d76d30e37f97) or update to a vendor release incorporating it once tagged, and rebuild dependent applications that statically or dynamically link libavcodec. As a compensating control until patched, disable NVDEC hardware-accelerated decoding and fall back to software decode (for example, avoid -hwaccel nvdec / cuvid and NVDEC-based hwaccel in downstream apps), accepting higher CPU usage and lower throughput as the trade-off; alternatively restrict which untrusted media is decoded through NVDEC-enabled workers and sandbox transcoding processes so a double-free crash or corruption is contained. Track the VulnCheck advisory (https://www.vulncheck.com/advisories/ffmpeg-double-free-in-nvdec-hardware-decoder-via-nvdec-c) for the exact fixed release version.

Affected VersionsENISA

FFmpeg 4c6217477fc64305055b37d9d1d0d76d30e37f97
FFmpeg 4.4 ≤8.1.2

Affected Packages

euvd ffmpeg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg is the de facto multimedia framework, and libavcodec is its codec library. The affected code path is NVDEC, FFmpeg's integration with NVIDIA's dedicated hardware video decode engine used to offload H.264/HEVC/AV1 and similar decoding to the GPU. The root cause is CWE-415 (Double Free): when the decoder runs out of available surfaces, the separate-reference start-frame routine (ff_nvdec_start_frame_sep_ref) releases the per-frame private data through nvdec_fdd_priv_free on its error path, but ownership is not cleared, so the higher decode layer frees the identical decoder-context/frame-description allocation a second time. Freeing the same heap chunk twice corrupts allocator metadata, which can be leveraged for controlled writes or used to crash the process.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Crafted file is delivered remotely (AV:N) but a victim must decode it (UI:R), no auth needed (PR:N); double-free memory corruption yields potential code execution, so C/I/A:H worst-case.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 8.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

FFmpeg versions 4.4 through 8.1.2 expose organizations running GPU-accelerated video processing to arbitrary code execution through malicious video files. Video platforms, streaming services, and media processing pipelines using these versions face significant risk of system compromise and operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Ubiquitous
FFmpeg is foundational multimedia software embedded in countless applications and services
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Leap 16.0 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP4-LTSS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy