Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted video with mid-stream resolution change
-
DeliveryVictim transcodes to APV via liboapv without rescale
-
ExploitOversized frame exceeds configured encoder dimensions
-
ExecutionAttacker pixel data written past imgb plane buffers
-
ImpactHeap corruption and possible code execution
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 that the victim environment uses FFmpeg's liboapv APV encoder wrapper (liboapve_encode) as a transcode target and feeds it an attacker-supplied video whose resolution increases mid-stream, with no rescale/scale filter in the pipeline so the incoming frame dimensions exceed the configured encoder width/height. This is NOT remote-unauthenticated against a default install: FFmpeg must be built with liboapv support (non-default), an APV encode must actually be invoked, and a local user or automated service must process the malicious input (AV:L, UI:P). Limiting factors are the high attack complexity and specific attack requirement (AC:H/AT:P) - the crafted mid-stream resolution change and absence of rescaling - plus the niche, optional nature of the APV encoder, all of which substantially constrain realistic exposure despite PR:N. |
| Impact | The input CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, score 7.3 High) and the description agree closely: this is not a remote, network-reachable flaw but a local, media-processing bug where a victim pipeline transcodes an attacker-supplied video. AV:L and UI:P mean the attacker cannot reach the code path unaided - a user or service must actually run an FFmpeg APV encode over the malicious input - and AC:H/AT:P reflect the specific precondition that the stream's resolution must change mid-stream while no rescale is applied. Impact metrics (VC/VI/VA:H) are consistent with a CWE-122 heap overflow writing attacker-controlled pixel data past the imgb plane buffers, which can mean memory corruption up to potential code execution in the encoding process. On the real-priority question, the signals point to meaningful-but-not-emergency: the vuln.today priority is 'this_week' (not act_now/emergency), no EPSS score was supplied, the CVE is NOT listed in CISA KEV, and no public exploit is present in the references - so there is no evidence of active or at-scale exploitation. The practical risk is further narrowed because the vulnerable path is FFmpeg's optional liboapv (APV) encoder wrapper, which is rarely compiled in and rarely used as a transcode target. Net: a genuine high-severity memory-corruption bug worth patching on a normal schedule, but the local vector, required user/pipeline action, high attack complexity, and niche encoder make widespread opportunistic exploitation unlikely. Missing data to flag: EPSS probability is absent and PoC/exploit status is unconfirmed from the provided references. |
| Exploit ScenarioDerived | An operator or automated service transcodes an untrusted, attacker-supplied video to APV using FFmpeg's liboapv encoder without a scaling filter in the chain. The attacker crafts the file so its frame resolution grows mid-stream beyond the dimensions the encoder was configured with, causing liboapve_encode() to copy oversized, attacker-controlled pixel data past the allocated imgb plane buffers and corrupt the heap. No public exploit code is identified in the provided sources, so this remains a described flaw rather than a demonstrated weaponized exploit. |
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 liboapv APV encoder wrapper (liboapve_encode) lets an attacker-supplied video write attacker-controlled pixel data past the imgb plane buffers when its resolution grows mid-stream and the stream is transcoded to APV with no rescale filter in the pipeline. Versions through 9.0.2 are affected, but only builds compiled with liboapv support expose the code path, and the CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P, 7.3 High) plus an independent 3.1 assessment (AV:L/AC:H/PR:N/UI:R) frame this as a constrained local media-processing bug rather than a network-reachable flaw. No confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis; priority is this_week.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit 87cdb6cd6a8d1ec201cb82b30e64d5f946939e23 from FFmpeg pull request 25416 and rebuild, or move to a release that already contains it. Where immediate rebuilding is not possible, two compensating controls reduce exposure: force frame geometry to match the encoder configuration by inserting an explicit scale filter (or otherwise rejecting mid-stream resolution changes) ahead of the APV encoder, which costs CPU time and resamples the video; or build FFmpeg without liboapv / avoid using APV as a transcode target for untrusted inputs, which removes APV encode capability entirely. Because the vulnerable path only triggers with the liboapv wrapper, confirming whether it is compiled in is a useful scoping step before patching; the vendor advisory and commit are the authoritative references.
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
The flaw is a CWE-122 heap-based buffer overflow in libavcodec/liboapvenc.c, inside the liboapv wrapper that lets FFmpeg encode to the APV format. The encoder allocates its imgb plane buffers according to the dimensions configured on the codec context, but the vulnerable code path derived the geometry from the incoming AVFrame instead: the upstream fix (commit 87cdb6cd6a8d1ec201cb82b30e64d5f946939e23) replaces frame->format, frame->width and frame->height with avctx->pix_fmt, avctx->width and avctx->height in liboapve_encode(). When a container supplies a video whose resolution increases mid-stream and no scale filter is present, the frame arriving at the encoder is larger than the buffers sized for the configured output, so pixel data is written past the end of the imgb planes and heap memory is corrupted. Exploitation therefore depends on a specific combination: an FFmpeg build with the optional liboapv dependency enabled, a transcode actually targeting the APV encoder, and an input pipeline that passes the resolution change through unrescaled - conditions reflected in the high attack complexity and specific attack requirement (AC:H/AT:P) of the assessed vectors. The trigger beyond the mid-stream resolution change is not described in the available sources.
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 media-processing bug needing a victim to transcode attacker input (AV:L/UI:R), with a specific mid-stream resolution precondition (AC:H) and no privileges (PR:N); heap corruption yields full C/I/A:H.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in liboapve_encode() in libavcodec/liboapvenc.c that allows attackers to corrupt heap memory by supplying frames larger than the configured encoder dimensions. Attackers can craft videos whose resolution changes mid-stream so that transcoding to APV without rescaling writes attacker-controlled pixel data past the imgb plane buffers.
Executive ViewAI
A high-severity memory safety flaw in FFmpeg's APV encoding path could let attacker-supplied video content corrupt memory on systems that transcode media, potentially causing crashes or code execution on affected build configurations. Leadership should care because media-processing pipelines are a common ingestion point and, while the flaw requires local conditions to trigger and only affects builds compiled with APV encoder support, unpatched media infrastructure may face availability and integrity risk. There is no indication of active exploitation at this time.
No vendor-released patch identified at time of analysis. Interim mitigations: disable APV encoder support (rebuild without liboapv) or avoid transcoding to APV, enforce a rescale filter before APV encoding to prevent mid-stream resolution changes, restrict processing of untrusted media to isolated/sandboxed hosts, and monitor for crashes or anomalous behavior in media pipelines.
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-120285
GHSA-7hrw-2r6j-2p3m
NVD
CVE.org
EPSS
VulDB
Exploit-DB