Skip to main content

FFmpeg CVE-2026-125254

| EUVDEUVD-2026-120204 MEDIUM
Divide By Zero (CWE-369)
2026-11-09 VulnCheck GHSA-vmpq-959f-hqcv
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious VVC bitstream
  2. Delivery
    Deliver media file to victim decoder
  3. Exploit
    Excess reference indices bypass num_ref_idx_active validation
  4. Execution
    Zero POC difference in ff_vvc_mv_scale()
  5. Impact
    Division by zero crashes decoding process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
Exploitation Conditions

Exploitation requires the victim to decode an attacker-supplied VVC (H.266/VVC) bitstream using FFmpeg's VVC decoder path (libavcodec/vvc); the malicious input must declare num_ref_idx_active exceeding the number of reference list entries actually built by ff_vvc_slice_rpl(), so that an excess reference index produces a zero POC difference in ff_vvc_mv_scale(). Limiting factors that reduce real-world risk: the attack vector is LOCAL (AV:L) and needs passive user interaction (UI:P) - the attacker cannot trigger it without the victim processing the crafted media; the VVC decoder is a relatively new code path that may not be built or exercised in all FFmpeg deployments; and impact is confined to a crash of the decoding process (availability only), with no authentication bypass, no code execution, and no data exposure.

Impact

This is a medium-severity denial-of-service issue, not a critical priority. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and tells a consistent story: exploitation is LOCAL (the crafted VVC bitstream must be processed by the victim's FFmpeg instance), requires passive user interaction (UI:P - the victim decodes attacker-supplied media), and produces ONLY an availability impact (VA:H) with no confidentiality or integrity loss (VC:N/VI:N). CWE-369 (division by zero) confirms the outcome is a process crash, not code execution. Exploitation status: no public exploit identified at time of analysis - the input lists no KEV entry, no EPSS score, and no confirmed working PoC (the VulnCheck advisory and FFmpeg pull request are reporting/patch references, not verified exploit code). The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the medium technical impact. The key tension is between FFmpeg's ubiquity and this specific flaw's narrow reach: FFmpeg is everywhere, but the VVC (H.266) decoder is a comparatively new and not-yet-ubiquitously-enabled code path, and the impact is a recoverable crash rather than compromise. Net: patch on a normal monthly cycle; it is a real but non-urgent DoS, not a high-CVSS-but-low-real-risk mislabel nor an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious VVC (H.266) bitstream whose slice reference picture list declares more active reference indices than were actually built, then delivers it to a victim (e.g., a media file, a stream, or content processed by a server-side transcoding pipeline that uses FFmpeg). When FFmpeg decodes it, the excess reference index yields a zero picture-order-count difference in ff_vvc_mv_scale(), triggering a division by zero that crashes the decoding process. No public exploit code is identified at time of analysis, and exploitation yields only a crash - no code execution or data disclosure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

Denial of service in FFmpeg's VVC (H.266) decoder: a crafted bitstream that declares more active reference indices than the slice reference list actually contains drives the POC difference to zero inside ff_vvc_mv_scale(), dividing by zero and crashing the decoding process. All FFmpeg builds through 9.0.2 that include the libavcodec/vvc decoder path are affected, and because the trigger travels inside media content the practical attack surface is local file or stream decoding with passive user interaction. Impact is limited to availability of the decoding process - no code execution, no data exposure, no authentication bypass; no public exploit code and no confirmed active exploitation were identified at time of analysis, which supports a this-month, medium-severity handling priority rather than emergency response.

RemediationAI

Apply the upstream fix commit 8732d7585cd8ab9d1dd9baeb4db5e93466c0efa7 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572), which adds a check in libavcodec/vvc/refs.c rejecting slices where num_ref_idx_active[lx] exceeds rpl->nb_refs with AVERROR_INVALIDDATA before the reference list is used. Patch availability is confirmed by the vendor, but the patch references point to a source commit and pull request rather than to a tagged release, so the exact first fixed FFmpeg version is not independently confirmed from the supplied data - distributions and integrators should confirm with their FFmpeg packager or rebuild from a tree that contains that commit. Because the defect is confined to the VVC decode path, exposure is bounded by whether a given build includes libavcodec/vvc and whether it is used to decode attacker-supplied H.266/VVC content; the trade-off of avoiding or disabling that decoder is loss of H.266 playback capability, and the crash itself only affects the decoding process availability.

Affected VersionsENISA

FFmpeg 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's VVC decoder lives in libavcodec/vvc and implements the H.266/Versatile Video Coding standard, whose inter-prediction design relies on explicit reference picture lists (RPL) built per slice. In ff_vvc_slice_rpl() (libavcodec/vvc/refs.c) the decoder builds that list from the slice header, and downstream ff_vvc_mv_scale() (libavcodec/vvc/mvs.c) scales motion vectors using a picture-order-count (POC) difference between the current picture and the referenced one. The code failed to verify that the slice header's num_ref_idx_active[lx] value was consistent with the number of entries actually populated in the built list (rpl->nb_refs), so an index past the end of the list could resolve to an entry yielding a zero POC difference - a division by zero, classified as CWE-369. The upstream fix adds a guard immediately after list construction that returns AVERROR_INVALIDDATA when num_ref_idx_active[lx] exceeds rpl->nb_refs, rejecting the malformed bitstream instead of propagating it into the motion-vector scaling math. The root cause class is missing input validation on a length/index field parsed from untrusted media, not a memory-safety defect: the consequence is a deterministic crash of the decoder, consistent with the availability-only (VC:N/VI:N/VA:H) scoring in the CVSS v4.0 vector and the assessed CVSS 3.1 vector.

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

The crafted bitstream must be processed locally by the victim's decoder (AV:L, UI:R), needs no privileges or special preconditions (PR:N/AC:L), and the division-by-zero crashes only the decoding process (A:H, C/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 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
None
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 a division by zero vulnerability in the VVC decoder because ff_vvc_slice_rpl() fails to validate num_ref_idx_active against built reference list entries. Attackers can supply a crafted VVC bitstream whose excess reference indices yield a zero POC difference in ff_vvc_mv_scale(), crashing the decoding process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded in countless media and server applications
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.2%
Patch available Yes
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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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