Skip to main content

FFmpeg EUVDEUVD-2026-120261

| CVE-2026-125172 MEDIUM
Out-of-bounds Read (CWE-125)
2026-11-09 disclosure@vulncheck.com GHSA-rq3r-c7p7-5285
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted EVC media file
  2. Exploit
    Victim's FFmpeg decodes it via libxevd
  3. Execution
    Oversized NAL length prefix reads past packet buffer
  4. Impact
    Application crash or adjacent heap memory disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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 FFmpeg is built with the external libxevd (MPEG-5 EVC) decoder enabled (e.g. --enable-libxevd) and that the victim decodes or otherwise processes an attacker-supplied crafted EVC bitstream whose 4-byte NAL length prefix exceeds the remaining packet data (UI:P - passive processing of the malicious input). Limiting factors: the vector is local (AV:L), the vulnerable code path is absent from default FFmpeg builds that omit libxevd, and impact is confined to a crash plus limited heap-memory disclosure with no code execution or integrity impact.

Impact

This is a moderate-priority issue, not a high-urgency one despite affecting ubiquitous software. The CVSS 4.0 base score is 6.9 (medium) with vector AV:L/AC:L/AT:N/PR:N/UI:P - a local vector that requires the victim to passively process attacker-supplied media, with impact concentrated in availability (VA:H, a crash) plus limited confidentiality (VC:L, adjacent heap disclosure) and no integrity impact. No EPSS score was supplied, so exploitation probability cannot be quantified. The CVE is not listed in CISA KEV in the provided data, and no working exploit reference is present - only the fix commit and vendor advisory. The vuln.today decision label is 'this_month', consistent with a patch-this-cycle posture rather than emergency. The most important real-world limiter is that the flaw lives in the libxevd (MPEG-5 EVC) decode path, which is only present when FFmpeg is explicitly built against the external libxevd library - a rarely enabled configuration - so the effective attack surface is far narrower than FFmpeg's overall footprint would suggest. Net: a genuine OOB-read bug worth patching this cycle, but neither a widespread nor a critical-impact emergency.

Exploit ScenarioDerived

An attacker crafts an EVC media stream whose 4-byte NAL length prefix is larger than the remaining packet data and delivers it to a victim (download, streaming, or an automated media-processing pipeline). When a build of FFmpeg that includes libxevd decodes the file, libxevd_receive_frame() reads past the packet buffer, crashing the process or returning adjacent heap bytes. No public working exploit is referenced in the input; the upstream fix commit (e06b3953) is public.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 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

Out-of-bounds heap reads in FFmpeg through 9.0.2 occur when a build with the external libxevd MPEG-5 EVC decoder processes a crafted EVC bitstream carrying an oversized 4-byte NAL length prefix. The assessed impact is a crash with high availability impact plus possible limited exposure of adjacent heap memory, with no code execution or integrity impact; the assessed vector is local and requires user interaction, and the vulnerable code path is absent from default builds that omit --enable-libxevd. This is a moderate-priority issue under the this_month label rather than a high-urgency one, and no public exploit was identified at time of analysis, though an upstream fix commit and pull request are referenced.

RemediationAI

Apply the upstream fix commit e06b3953d4253f8b56271628ba4083fde96aeadb, corresponding to FFmpeg pull request 25416, or move to an FFmpeg release that contains it; the provided data confirms the upstream PR/commit fix but does not list an independently confirmed patched release version beyond that commit. If updating is not immediately possible, the most direct control is to avoid building or enabling the external libxevd MPEG-5 EVC decoder with --enable-libxevd and to avoid processing untrusted EVC media on such builds, since default FFmpeg builds that omit libxevd do not contain the vulnerable code path; the trade-off is loss of MPEG-5 EVC decoding. Where EVC support must remain, restrict EVC input to trusted sources and isolate the decoding process so a crash or limited heap-memory disclosure cannot affect other workloads; this reduces exposure but does not remediate the out-of-bounds read. References: https://github.com/FFmpeg/FFmpeg/commit/e06b3953d4253f8b56271628ba4083fde96aeadb, https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25416, and https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-read-via-libxevd-evc-nal-length.

Affected VersionsENISA

FFmpeg 7.0 ≤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

FFmpeg integrates external decoders through wrappers in libavcodec; libxevd.c integrates the libxevd library for MPEG-5 Essential Video Coding (EVC). In libxevd_receive_frame(), the code parses 4-byte NAL unit length prefixes from an EVC access unit and uses them to locate NAL units; before the fix it checked only nalu_size == 0, so a length prefix larger than the remaining packet data was not rejected. The referenced fix commit e06b3953d4253f8b56271628ba4083fde96aeadb changes the check to nalu_size <= 0 || nalu_size > pkt_au->size - bs_read_pos - XEVD_NAL_UNIT_LENGTH_BYTE, adding the missing bounds validation. This is CWE-125 out-of-bounds read: libxevd can read past the packet buffer, leading to a crash or limited heap-memory disclosure. The issue applies only to FFmpeg builds with the external libxevd decoder enabled; default builds without --enable-libxevd do not contain this code path. The assessed CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H, and the input tags the issue as Buffer Overflow and Information Disclosure. The trigger described in the available sources is a crafted EVC bitstream whose 4-byte NAL length prefix exceeds the remaining packet data.

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 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.1 MEDIUM

Local processing of a crafted file needs no privileges but requires user interaction (UI:R); the OOB read yields limited heap disclosure (C:L) and a reliable crash (A:H) with no integrity impact.

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

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
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in libxevd_receive_frame() in libavcodec/libxevd.c that fails to validate NAL unit length prefixes against remaining packet data. Attackers can supply crafted EVC media with oversized 4-byte NAL length prefixes, causing libxevd to read past the packet buffer, crashing the application or exposing adjacent heap memory.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
FFmpeg is ubiquitous but the libxevd/EVC decoder is rarely compiled in
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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