Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft H.264/HEVC stream with malicious LCEVC data
-
DeliveryDeliver file or stream to victim decoder
-
ExploitVictim decodes with liblcevc_dec enabled
-
ExecutionLCEVC output dimensions mismatch allocated frame
-
PersistHeap buffer overflow in lcevcdec.c
-
ImpactMemory corruption, possible code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation 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 be built and configured with the optional liblcevc_dec (LCEVC enhancement) decoder - this is not a default build option - and the victim application must decode an attacker-supplied H.264 or HEVC stream containing crafted LCEVC enhancement data whose global configuration yields output picture dimensions differing from the allocated base frame (the pre-fix code failed to validate this, per lcevcdec.c around line 224). Limiting factors: LCEVC support must be compiled in and active; the vector is local/file-based with required passive user interaction (UI:P) such as opening or processing the malicious media; and no authentication bypass or privilege escalation is involved. The vendor fix adds a LCEVC_PeekDecoderPictureDesc check comparing width/height/colorFormat against the frame and bumps the required lcevc_dec library to >=4.2.0. |
| Impact | Signals are mixed and point to a serious-but-conditional memory-corruption bug rather than a mass-exploitation emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H, score 8.5) describes a local, user-interaction-dependent flaw with high impact to confidentiality, integrity and availability but no scope change - consistent with CWE-787 (out-of-bounds write / heap overflow) in a media decoder processing attacker-supplied data. The vuln.today decision label is 'this_week', which is an elevated-but-not-emergency priority. No CISA KEV listing and no EPSS score were supplied, and no confirmed public exploit code is present in the inputs (only the vendor commit, a FFmpeg PR, a source-line reference, and a VulnCheck advisory), so there is no evidence of active or widespread exploitation at time of analysis. The practical risk is tempered by a key gating condition: the vulnerable code path lives in libavcodec/lcevcdec.c and is only compiled when FFmpeg is built with the optional liblcevc_dec (LCEVC) support, which is not a default configuration - so the exploitable population is far smaller than FFmpeg's overall footprint. Net: a credible RCE-class risk for applications that decode untrusted H.264/HEVC with LCEVC enabled, worth patching promptly, but not a drop-everything internet-wide threat on current data. |
| Exploit ScenarioDerived | An attacker crafts an H.264 or HEVC stream embedding LCEVC enhancement data whose global configuration specifies output picture dimensions that differ from the allocated base frame. A victim application built with liblcevc_dec support decodes the file or stream (passive user interaction), and the unvalidated dimension mismatch causes a heap buffer overflow in lcevcdec.c, corrupting memory with potential for code execution in the decoding process. No confirmed public exploit code is present in the inputs; only the vendor fix and a VulnCheck advisory are referenced. |
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 optional LCEVC enhancement decoder (libavcodec/lcevcdec.c) allows memory corruption when a decoding application processes a crafted H.264 or HEVC stream carrying malicious LCEVC enhancement data, affecting FFmpeg builds through 9.0.2. The flaw is only reachable in builds configured with the non-default liblcevc_dec decoder, and the assessed vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is local/file-based with required user interaction such as opening the media, yielding high confidentiality, integrity and availability impact on the decoding host. No public exploit has been identified at time of analysis and there is no KEV listing, but VulnCheck-reported severity (8.5) and a vendor patch already published place this on a this-week remediation cadence rather than an emergency one.
RemediationAI
Vendor-released patch: upgrade to an FFmpeg build containing commit fd6dfa613a48665dcb8d14186b33dad90aa40ae0 (upstream PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25067), and note that the fix raises the required external library to lcevc_dec >= 4.2.0, so the new lcevc_dec must be present at build time or configure will not enable the decoder. Rebuild all distributed binaries, ffmpeg CLI tooling and embedded/library consumers that ship LCEVC support, and treat this on a this-week cadence per the priority signal. If the patched code cannot be deployed immediately, the most direct compensating control is to build without the LCEVC decoder (omit --enable-liblcevc-dec) or otherwise ensure the affected integrator does not load liblcevc_dec, which removes the vulnerable code path entirely at the cost of losing LCEVC-enhanced playback and any transcode pipelines that rely on it; avoid decoding untrusted H.264/HEVC media through LCEVC-enabled builds until the update is applied, since the bug is exercised during normal decoding of attacker-supplied content.
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
LCEVC (MPEG-5 Part 2 Low Complexity Enhancement Video Coding) is an enhancement layer carried alongside a base codec such as H.264 or HEVC; FFmpeg exposes it through a wrapper around the external liblcevc_dec library in libavcodec/lcevcdec.c. In the affected code, the wrapper allocates an external base picture with LCEVC_AllocPictureExternal and hands it to the decoder, but never compares the picture description the decoder derives from the enhancement-layer global configuration (width, height, pixel/color format) with the dimensions of the frame that was actually allocated. A stream whose enhancement data declares different output picture dimensions therefore causes the decoder to write beyond the allocated base frame - a classic out-of-bounds write (CWE-787) in heap memory. The upstream fix restructures lcevc_send_frame() to call LCEVC_PeekDecoderPictureDesc and compare the resulting width, height and mapped color format against the base frame description, passing the base picture through (with a verbose log) when they match the base but not the frame, and returning AVERROR_INVALIDDATA with a new 'fail' path (LCEVC_SkipDecoder, LCEVC_SynchronizeDecoder, lcevc_flush_pictures) on mismatch; it also adds a passthrough_mode short-circuit and raises the build-time dependency from lcevc_dec >= 4.0.0 to >= 4.2.0. The precise stream-level trigger beyond the dimension mismatch of the enhancement output description 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:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local file/stream parsing with required user interaction (UI:R) and no auth (PR:N); heap out-of-bounds write yields high C/I/A with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/lcevcdec.c because LCEVC output picture dimensions are not validated against the allocated frame. Attackers can embed crafted LCEVC enhancement data with differing global configurations in H.264 or HEVC streams to corrupt heap memory in decoding applications.
Executive ViewAI
A high-severity heap buffer overflow in FFmpeg's optional LCEVC decoder (CVE-2026-125262) could allow memory corruption when a user opens a malicious media file, potentially leading to data compromise or system instability on affected hosts. Only systems with the non-default LCEVC decoder enabled are at risk, but the widespread use of FFmpeg in media processing pipelines means security and engineering teams should verify exposure and prioritize patching this week. No active exploitation has been observed, but the availability of a vendor fix makes remediation straightforward.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
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-120212
GHSA-g6vq-jf85-45hj
NVD
CVE.org
EPSS
Exploit-DB