Skip to main content

FFmpeg EUVDEUVD-2026-47748

| CVE-2026-64831 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-22 VulnCheck GHSA-mqq7-j9mq-9jwq
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 HEVC stream with oversized vps_num_hrd_parameters
  2. Delivery
    Embed in container and deliver to target
  3. Exploit
    Victim decodes via Vulkan HEVC path
  4. Execution
    Overflow stack arrays in vk_hevc_end_frame
  5. Persist
    Overwrite return address, hijack control flow
  6. Impact
    Execute arbitrary code in decoder context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that FFmpeg (8.0 through 8.1.2) be built with and actively using the Vulkan HEVC hardware decoder path - the vulnerable vk_hevc_end_frame function is only reached when hardware-accelerated Vulkan decoding of an HEVC/H.265 stream occurs, so deployments using the default software HEVC decoder or lacking Vulkan support are not exposed. The trigger is a crafted HEVC bitstream carrying a vps_num_hrd_parameters value greater than HEVC_MAX_SUB_LAYERS, embeddable in any supported container format. Limiting factors: the CVSS UI:P metric confirms passive user interaction is required - the malicious media must actually be opened/decoded by a victim or automated pipeline; no authentication is needed (PR:N); and reliable code execution must overcome stack canaries, ASLR, and DEP, which is not guaranteed.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) scores 8.7, reflecting remote, low-complexity, unauthenticated triggering with high confidentiality/integrity/availability impact but requiring passive user interaction (UI:P) - a victim or pipeline must actually decode the malicious media. No EPSS score was provided, and the CVE is not in CISA KEV, so there is no evidence of active exploitation; the intelligence status is 'no public exploit identified at time of analysis.' Two signals temper the raw score: exploitation requires the Vulkan HEVC hardware decode path to be in use (not FFmpeg's default software decoder), and reliable RCE from a stack overflow must defeat modern mitigations (stack canaries, ASLR, DEP), so 'potentially achieving arbitrary code execution' is a plausible but unproven upper bound rather than a confirmed outcome. This is a credible priority for environments running FFmpeg 8.0-8.1.2 with Vulkan HEVC acceleration on attacker-supplied media, but likely lower urgency for the majority of deployments using software decoding.

Exploit ScenarioDerived

An attacker crafts an HEVC/H.265 stream with a vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS, wraps it in any supported container (MP4, MKV, TS), and delivers it to a target that transcodes or previews uploaded media using FFmpeg 8.0-8.1.2 with Vulkan HEVC acceleration. When the victim service or user decodes the file, vk_hevc_end_frame overflows stack arrays, corrupting return addresses and potentially executing attacker-controlled code in the decoder's context. No public exploit is identified at time of analysis, and success depends on defeating stack protections, so this reflects the intended attack path rather than a demonstrated working exploit.

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

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

Alert me

AnalysisAIv1 – Jul 22, 2026

Stack buffer overflow in FFmpeg's Vulkan HEVC hardware decoder (versions 8.0 through 8.1.2) lets remote attackers overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream, potentially achieving arbitrary code execution. The flaw sits in the vk_hevc_end_frame function, where a malicious vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS overflows stack-allocated arrays. Reported by VulnCheck with an upstream fix committed; there is no public exploit identified at time of analysis and no CISA KEV listing, so exploitation appears theoretical for now despite the high CVSS 4.0 score of 8.7.

RemediationAI

Upstream fix available (PR/commit); a released patched version is not independently confirmed from the provided data - apply the upstream commit at https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/92737390dc133daadce47dd7d2ec8ef3d9ebcbed (associated PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23665) or upgrade to the first FFmpeg 8.1.x release that incorporates it and rebuild dependent libavcodec-based software. Until patched, the most effective compensating control is to avoid the Vulkan HEVC hardware decode path - disable Vulkan hardware acceleration (e.g., do not pass -hwaccel vulkan for HEVC and build/configure to prefer the software HEVC decoder), which trades GPU decode performance for safety. Additionally, restrict or sandbox the decoding process (seccomp, containers, dropped privileges) and validate or quarantine untrusted media before it reaches FFmpeg, accepting the throughput cost of pre-screening. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/ffmpeg-stack-buffer-overflow-in-vulkan-hevc-decoder) for definitive fixed-version guidance.

Affected VersionsENISA

FFmpeg 92737390dc133daadce47dd7d2ec8ef3d9ebcbed
FFmpeg 8.0 ≤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 used for decoding, encoding, and transcoding audio/video across countless applications, media servers, and libraries (libavcodec). This vulnerability is specific to the newer Vulkan-based hardware-accelerated HEVC (H.265) decode path, which offloads frame decoding to the GPU via the Vulkan video extensions. The root cause is CWE-121 (Stack-based Buffer Overflow): the HEVC video parameter set (VPS) carries a vps_num_hrd_parameters field describing Hypothetical Reference Decoder parameters per temporal sub-layer, and the code writes into fixed-size stack arrays bounded by HEVC_MAX_SUB_LAYERS without validating that the attacker-supplied count stays within that bound. Because the overflow occurs at frame-end processing (vk_hevc_end_frame) on stack memory, it can corrupt saved return addresses, opening a path from memory corruption to control-flow hijack.

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

Remote crafted media processed with no auth (AV:N/PR:N) but a victim must decode it (UI:R); memory corruption threatens full C/I/A with no scope change.

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 8.0 through 8.1.2 contains a stack buffer overflow vulnerability in the Vulkan HEVC hardware decoder that allows remote attackers to overwrite return addresses and adjacent stack frames by supplying a crafted HEVC/H.265 bitstream. Attackers can embed a malicious vps_num_hrd_parameters value exceeding HEVC_MAX_SUB_LAYERS in any supported container format to overflow stack-allocated arrays in the vk_hevc_end_frame function, potentially achieving arbitrary code execution.

Executive ViewAI

Why It Matters

FFmpeg 8.0 through 8.1.2 contains a remote code execution vulnerability in the video decoder that attackers could exploit via malformed video files; no public exploit identified at time of analysis. Organizations running video transcoding, streaming, or media processing services using these versions face direct operational and security risk. Immediate patching is required to prevent potential compromise of video processing infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.9%
Top 45% exploitable
Prevalence
Ubiquitous
FFmpeg underpins most media pipelines; vulnerable Vulkan HEVC path is far narrower
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.9%
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.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected

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