Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft media with mid-stream resolution increase
-
ExploitSubmit to FFmpeg QSV transcode without rescaling
-
ExecutionReuse undersized pooled QSVFrame buffer
-
ImpactOverflow heap and crash or corrupt memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap 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 FFmpeg to transcode attacker-supplied input through an Intel Quick Sync (QSV) hardware encoder (libavcodec/qsvenc.c) with no rescaling filter in the chain, and the input must increase in width/height mid-stream so a pooled QSVFrame allocated for the earlier smaller dimensions is reused for a larger frame. Limiting factors that reduce real-world risk: the attack vector is local (AV:L) - the attacker must get their file processed, not reach a network service; a user or pipeline must actually run the transcode (UI:P); the QSV encoding path must be present and selected, which depends on Intel Quick Sync hardware and explicit configuration; and the mid-stream resolution-increase precondition is a non-default condition reflected in AC:H/AT:P. Software-only encoding paths and workflows that rescale input are not affected. |
| Impact | This is a genuine but conditionally-gated memory-corruption bug rather than an internet-facing emergency. The vendor-supplied CVSS 4.0 vector (7.3, High) is internally consistent with the description: AV:L means the attacker must get their crafted media processed locally (not a remote network service), AC:H and AT:P reflect the specific precondition that input dimensions must grow mid-stream, and UI:P indicates a victim/pipeline must perform the transcode. PR:N confirms no authentication is needed to supply the malicious input. The decision label is 'this_week', which aligns with a High-but-not-critical issue. No EPSS score and no KEV status were provided in the input; combined with the absence of any exploit reference, there is no evidence of active exploitation or weaponization. The practical risk concentrates on automated transcoding pipelines that (a) use Intel Quick Sync (QSV) hardware encoders and (b) do not rescale input - a meaningful but non-default subset of FFmpeg deployments. Signals are consistent (no conflicts), but note that EPSS and KEV data are simply missing, not confirmed-negative, so exploitation probability cannot be quantified from this data. |
| Exploit ScenarioDerived | An attacker submits a crafted media file or stream whose resolution increases partway through to an FFmpeg-based transcoding service that uses an Intel Quick Sync (QSV) encoder without a rescaling step. When the larger frame is processed, FFmpeg reuses a pooled QSVFrame buffer sized for the earlier, smaller dimensions, overflowing the heap and crashing the process or corrupting memory. No public exploit identified at time of analysis; the local vector, high attack complexity, and required processing of the input (UI:P) limit how easily this is triggered at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Heap buffer overflow in FFmpeg's Intel Quick Sync (QSV) encoder path can corrupt memory when a transcoded input increases in resolution mid-stream and an undersized pooled QSVFrame buffer is reused. Affected are FFmpeg builds through 9.0.2 that expose libavcodec/qsvenc.c and are configured to use QSV hardware encoding without rescaling; exploitation requires local access and a crafted file that is actually processed, so the risk is conditionally gated. The supplied CVSS 4.0 vector rates it 7.3, the vuln.today decision label is this_week, and no public exploit has been identified at time of analysis.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the fix commit 9b99973b2bbecee0b7e1e57035b95498b42f54a6 (FFmpeg pull request 25682) or upgrade to a build that contains it, and consult the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-overflow-via-qsv-encoder-submit-frame. Until a patched build is deployed, avoid transcoding untrusted media through Intel Quick Sync encoders, or force a rescaling filter to normalize dimensions before QSV encoding so a pooled QSVFrame is not reused across a mid-stream resolution increase. Disabling QSV moves encoding load to software and may reduce throughput; rescaling can alter output quality and adds processing cost.
Affected VersionsENISA
Affected Packages
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
This is a CWE-122 heap-based buffer overflow in FFmpeg's QSV encoder implementation. The vulnerable code path is in libavcodec/qsvenc.c, referenced around line 2081 in n9.0.2, where QSVFrame buffers are pooled and reused during encoding. If a stream's width or height grows mid-stream and no rescaling filter is present, a pooled buffer allocated for the earlier smaller dimensions can be reused for a larger frame, allowing heap memory corruption. The upstream fix modifies the dimension check in libavcodec/encode.c from a less-than comparison to an inequality check, which is consistent with enforcing exact dimension matching before reuse. The CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P with high confidentiality, integrity, and availability impact, while the independent assessment uses CVSS 3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. The flaw is relevant only to builds with Intel Quick Sync support and selected QSV encoders; software-only encoding paths and workflows that rescale input are not affected.
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
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local processing of a crafted file (AV:L) with a non-default mid-stream resolution-increase precondition and required QSV path (AC:H), no auth (PR:N), victim must run the transcode (UI:R); heap overflow can crash or corrupt memory, so C/I/A rated high for worst-case code execution.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a heap overflow vulnerability in libavcodec/qsvenc.c that allows attackers to corrupt memory by reusing an undersized pooled QSVFrame buffer when input dimensions increase. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with Intel Quick Sync encoders without rescaling, to crash the application or corrupt heap memory.
Executive ViewAI
A heap buffer overflow vulnerability in FFmpeg's Intel Quick Sync hardware encoding path affects all builds through version 9.0.2, potentially allowing memory corruption when processing crafted media files with mid-stream resolution changes. While exploitation requires local access and a specifically crafted file to be processed, the widespread use of FFmpeg in media processing pipelines means any organization transcoding video could be at risk, making this a high-priority issue for security and media operations teams.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling QSV hardware encoding, ensuring rescaling is used during transcoding, restricting processing to trusted media files, and isolating FFmpeg processes via sandboxing or containerization.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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 heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120185
GHSA-rfcc-vr3x-qcq9
NVD
CVE.org
EPSS
Exploit-DB