Skip to main content

FFmpeg CVE-2026-125262

| EUVDEUVD-2026-120212 HIGH
Out-of-bounds Write (CWE-787)
2026-11-09 VulnCheck GHSA-g6vq-jf85-45hj
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft H.264/HEVC stream with malicious LCEVC data
  2. Delivery
    Deliver file or stream to victim decoder
  3. Exploit
    Victim decodes with liblcevc_dec enabled
  4. Execution
    LCEVC output dimensions mismatch allocated frame
  5. Persist
    Heap buffer overflow in lcevcdec.c
  6. Impact
    Memory 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.

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

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

Alert me

AnalysisAIv1 – 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

FFmpeg 7.1 ≤9.0.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

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
FFmpeg libavcodec is embedded in countless players/apps, but vulnerable LCEVC path is optional
Data Quality
6 sources
Confidence: High

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.1%
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

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.

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-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

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

Vendor StatusVendor

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