Skip to main content

FFmpeg CVE-2026-125258

| EUVDEUVD-2026-120208 MEDIUM
Divide By Zero (CWE-369)
2026-11-09 VulnCheck GHSA-8qc4-38fg-fxc3
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted HEVC/AV1 with zero framerate denominator
  2. Delivery
    Operator runs DV RPU-configured encode
  3. Exploit
    Reach dovi_configure_ext() division
  4. Execution
    Trigger division by zero
  5. Impact
    Crash FFmpeg process (denial of service)

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 that FFmpeg be driven with Dolby Vision RPU encoding - specifically the dovi_rpu bitstream filter, or the libx265, libaom, or libsvtav1 encoders configured to emit DV RPU - so that dovi_configure_ext() in libavcodec/dovi_rpuenc.c executes. The attacker must supply a crafted HEVC or AV1 input whose frame rate has a nonzero numerator and a zero denominator. Limiting factors: this is not a default configuration (DV RPU generation must be explicitly enabled), the attack vector is local (AV:L) requiring the input to be fed to the encoding process, and an operator must actually run the encode (passive user interaction, UI:P). Impact is confined to a process crash (availability only) - there is no code execution, data disclosure, or integrity loss.

Impact

This is a genuinely low-to-moderate priority issue despite the CRITICAL-sounding product. The only impact is availability (a process crash from CWE-369 division by zero) - the CVSS 4.0 vector confirms VC:N/VI:N/VA:H, meaning no confidentiality or integrity loss and no code execution. The vector is local (AV:L), carries an attack requirement (AT:P) and passive user interaction (UI:P), which together reflect that the vulnerable code path only runs when Dolby Vision RPU encoding is configured and an operator actually processes the malicious input. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a conditional, availability-only bug. No EPSS score was supplied, the CVE is NOT in CISA KEV, and no working exploit reference is present - only the fixing pull request, the patch commit, and the VulnCheck advisory. One signal to weigh: the published CVSS 4.0 uses AC:H, but the actual trigger (set framerate denominator to zero while numerator is nonzero) is trivial to craft; the difficulty lies in reaching the DV encoding path, not in building the input. Net: a real but narrowly-scoped DoS that matters mainly to automated media pipelines that transcode untrusted input with Dolby Vision RPU generation enabled; patch on a normal maintenance cycle rather than as an emergency.

Exploit ScenarioDerived

An attacker submits a crafted HEVC or AV1 file carrying a nonzero frame rate numerator and a zero denominator to a service that transcodes user-supplied media with Dolby Vision RPU encoding enabled (via the dovi_rpu bitstream filter or libx265/libaom/libsvtav1). When dovi_configure_ext() divides by the zero denominator, the FFmpeg process crashes, denying service for that job and any pipeline sharing the worker. No public working exploit is identified; exploitation is local (AV:L) and requires an operator to actually run the DV-configured encode on the malicious input.

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

Division by zero in FFmpeg through 9.0.2's Dolby Vision RPU encoder path (dovi_configure_ext() in libavcodec/dovi_rpuenc.c) lets a local attacker crash the encoding process by supplying a crafted HEVC or AV1 input whose frame rate has a nonzero numerator and a zero denominator. The flaw only triggers when Dolby Vision RPU generation is explicitly enabled - via the dovi_rpu bitstream filter or the libx265, libaom, or libsvtav1 encoders configured to emit DV RPU metadata - so it is not reachable in a default FFmpeg configuration, and an operator must actually run the encode (user interaction). Impact is limited to availability (process crash); there is no code execution, data disclosure, or integrity loss, and no public exploit code was identified at time of analysis (not in CISA KEV; EPSS not provided in the available data).

RemediationAI

The fix is upstream: commit ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe (PR https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408) changes the guard in dovi_configure_ext() to require both framerate.num > 0 and framerate.den > 0, so building FFmpeg from source at that commit or a later revision resolves the crash; a tagged release containing the change beyond 9.0.2 is not independently confirmed in the available data, so verify the fix is present before relying on a packaged build. Where rebuilding or upgrading is not immediately possible, remove the exposure rather than relying on generic hardening: do not enable Dolby Vision RPU generation (avoid the dovi_rpu bitstream filter and do not configure libx265, libaom, or libsvtav1 for DV RPU output), accepting that Dolby Vision metadata will not be produced, or pre-validate/sanitize input frame rate metadata so that a nonzero denominator is guaranteed before encoding untrusted HEVC or AV1 files. Because exploitation is local and requires an operator to run the encode on a crafted file, restricting who can submit untrusted media to DV encoding pipelines also reduces exposure.

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

The issue is a CWE-369 divide-by-zero in libavcodec/dovi_rpuenc.c, the module that builds Dolby Vision RPU (reference processing unit) metadata for encoded HEVC and AV1 streams. In dovi_configure_ext() the frame rate is handled as an AVRational structure, but the guard only checked the numerator (if (framerate.num)), so a rational with num != 0 and den == 0 passed validation and was later used as a divisor, faulting the process. The upstream fix (commit ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe, proposed in PR 25408) tightens the condition to if (framerate.num > 0 && framerate.den > 0), i.e. it validates the denominator before the value is consumed. Reachability depends on the Dolby Vision encoding path being active: the dovi_rpu bitstream filter, or libx265/libaom/libsvtav1 with DV RPU output enabled. The defect is purely a robustness/validation gap in the encoder-side RPU configuration logic, not a memory-safety issue, which is consistent with the availability-only impact in the assessed vector (AV:L/AC:L/PR:N/UI:R, C:N/I:N/A:H).

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

Local crafted-input processing with availability-only crash; an operator must run a DV-configured encode (UI:R), and the zero-denominator trigger itself is trivial to craft (AC:L).

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:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 4.7 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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 dovi_configure_ext() in libavcodec/dovi_rpuenc.c that allows attackers to crash the process via an unvalidated frame rate denominator. Attackers can supply a crafted HEVC or AV1 input with a nonzero frame rate numerator and zero denominator to the dovi_rpu bitstream filter or libx265, libaom, or libsvtav1 encoders, causing denial of service.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
FFmpeg is a near-universal multimedia library across media and transcoding pipelines
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

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