Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted high-resolution video file
-
DeliveryOperator transcodes it with prores_ks encoder
-
Exploit32-bit arithmetic overflows frame_size_upper_bound
-
Executionencode_frame writes slices past undersized packet buffer
-
ImpactHeap corruption, potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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 the target system ENCODES attacker-supplied content TO ProRes using FFmpeg's prores_ks encoder (e.g. a transcoding service or editing pipeline), with frame dimensions large enough that the 32-bit calculation of frame_size_upper_bound in ff_prores_kostya_encode_init() overflows. This is NOT a decode-side bug, so merely opening or playing the file is insufficient. Limiting factors per the CVSS 4.0 vector: local attack vector (AV:L) means no direct network trigger, passive user/operator interaction is required (UI:P) to run the encode, the specific non-default prores_ks encoder must be selected, and very large frame resolutions are needed. These conditions make opportunistic mass exploitation unlikely and confine risk to systems that intentionally re-encode untrusted video into ProRes. |
| Impact | The CVSS 4.0 base score of 8.5 (High) is driven by full VC:H/VI:H/VA:H impact from heap corruption, but the vector itself tempers real-world urgency: AV:L means this is NOT remotely reachable on its own, and UI:P means an operator must actively run an encode. Critically, this is an ENCODER flaw (prores_ks), not a decoder flaw, so it is only reachable in workflows that deliberately transcode attacker-supplied input TO ProRes - a far narrower surface than typical FFmpeg decode-side bugs. No EPSS score was provided, so exploitation probability cannot be quantified; the vulnerability is NOT in CISA KEV and there is no confirmed working exploit code (the references are only the patch commit, the PR, the source line, and the VulnCheck advisory). The vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with a serious-but-not-actively-exploited issue. Net: a real priority for media-processing pipelines that re-encode untrusted uploads to ProRes, but a lower-tier concern for the vast majority of FFmpeg deployments that never invoke the prores_ks encoder. The high CVSS reflects impact severity, not ease or breadth of real-world exploitation. |
| Exploit ScenarioDerived | A server-side media pipeline (or desktop user) transcodes an attacker-supplied video to ProRes using FFmpeg's prores_ks encoder. By crafting a very high-resolution input, the attacker triggers a 32-bit integer overflow in ff_prores_kostya_encode_init() that undersizes the packet buffer, so encode_frame() writes slice data past the allocation and corrupts the heap. No confirmed public exploit code exists at time of analysis; a vendor patch commit is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
An integer overflow in FFmpeg's ProRes Kostya encoder (prores_ks) through 9.0.2 causes ff_prores_kostya_encode_init() to compute frame_size_upper_bound with 32-bit arithmetic, so sufficiently large frame dimensions wrap the value and produce an undersized packet buffer; encode_frame() then writes slice data past the end of that buffer and corrupts heap memory. The flaw is encode-side only: a target is affected when it transcodes attacker-supplied video TO ProRes with the non-default prores_ks encoder at very large resolutions, which is why the CVSS 4.0 vector is AV:L/UI:P rather than a remotely reachable decode bug. Score 8.5 High reflects full confidentiality, integrity and availability impact from heap corruption; no public exploit code or CISA KEV entry was identified at time of analysis, and vendor priority is this_week.
RemediationAI
The vendor fix is available as upstream commit 439b452f9fe916a9f7d8788ab6afee8fac846b0b (merged via PR 25573, https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573); it converts the frame_size_upper_bound accumulation to int64_t, stores the per-slice bound in ProresContext, and aborts initialization with 'Frame too large to encode' when the combined bound would exceed INT_MAX. Upstream fix available (PR/commit); released patched version not independently confirmed, so build from or backport that commit rather than assuming a tagged release contains it, and verify the int64_t accumulation and the INT_MAX guard are present in libavcodec/proresenc_kostya_common.c of whatever build you deploy. Until patched, the practical compensating control mirrors the fix's own bound check: reject or refuse to transcode inputs whose frame dimensions would drive the 32-bit bound past INT_MAX (i.e. cap resolution and slice counts before invoking prores_ks), and restrict prores_ks encoding to trusted or pre-validated content since the flaw only manifests when an attacker controls the input video being re-encoded. Both controls have operational side effects - capping dimensions breaks legitimate high-resolution ProRes workflows, and trusting only vetted inputs reduces throughput and blocks user-supplied uploads on transcoding services - so schedule the code fix rather than relying on them long term.
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
FFmpeg's prores_ks encoder (libavcodec/proresenc_kostya.c and proresenc_kostya_common.c) pre-computes an upper bound on the encoded frame size during AVCodecContext initialization so that encode_frame() can allocate a packet buffer large enough for all slices. In the affected code, ff_prores_kostya_encode_init() accumulated that bound - pictures_per_frame multiplied by slices_per_picture, plus per-slice bit budgets scaled by mbs_per_slice * 256 * (1 + alpha_bits + 1) and the 512-versus-768 bit estimate selected by chroma_factor == CFACTOR_Y444 - entirely in 32-bit int arithmetic. That is a classic CWE-190 integer overflow: with large enough frame dimensions and slice/picture counts, the multiplication and addition wrap, the stored frame_size_upper_bound becomes smaller than the real worst case, and encode_frame() subsequently writes slice payloads beyond the end of the allocated packet buffer, corrupting heap memory. The upstream fix in commit 439b452f9fe916a9f7d8788ab6afee8fac846b0b (PR 25573) moves the accumulation to int64_t, caches the per-slice upper bound in the ProresContext as slice_size_upper_bound, and rejects configurations where frame_size_upper_bound + slice_size_upper_bound + FF_INPUT_BUFFER_MIN_SIZE exceeds INT_MAX with the error 'Frame too large to encode' (AVERROR(EINVAL)). The trigger path is the encode path only - decoding or playing a file does not exercise this code.
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:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Encoder-path bug reachable only when an operator transcodes attacker input locally (AV:L, UI:R, PR:N); heap corruption yields high C/I/A, scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an integer overflow vulnerability in ff_prores_kostya_encode_init() that miscalculates frame_size_upper_bound using 32-bit arithmetic for large frame dimensions. Attackers can supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet buffer and corrupt heap memory.
Executive ViewAI
A high-severity integer overflow vulnerability in FFmpeg's ProRes Kostya encoder (prores_ks) could cause heap corruption when attackers supply malicious video files that are transcoded to ProRes at extremely large resolutions. Organizations that run video processing pipelines using this encoder are at risk; successful exploitation could lead to data leakage, system instability, or arbitrary code execution, requiring immediate remediation to protect media assets and infrastructure.
Apply vendor patch.
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.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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-120209
GHSA-pr5x-4ggj-w5wj
NVD
CVE.org
EPSS
Exploit-DB