Skip to main content

FFmpeg EUVDEUVD-2026-120197

| CVE-2026-125247 MEDIUM
Integer Overflow or Wraparound (CWE-190)
2026-11-09 disclosure@vulncheck.com GHSA-jhv5-xmvg-qh9f
4.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft DNG with tile dimension near INT_MAX
  2. Delivery
    Deliver file to victim for processing
  3. Exploit
    FFmpeg decodes via dng_decode_tiles()
  4. Execution
    Integer overflow zeroes tile count, loop skipped
  5. Impact
    Output frame leaks uninitialized heap memory

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to decode an attacker-crafted DNG image through FFmpeg's TIFF/DNG decoder (libavcodec/tiff.c, dng_decode_tiles). The concrete trigger, per the description and commit diff, is a DNG whose TileWidth or TileLength TIFF tag is set near INT_MAX: the computation (width + tile_width - 1) / tile_width overflows so tile_count becomes zero, the tile loop never executes, and the frame is emitted with uninitialized heap contents. Limiting factors: the attack vector is LOCAL (AV:L) and requires passive user interaction (UI:P) - the victim must process the malicious file; there is no network-reachable trigger and no privilege is required (PR:N). Impact is bounded to disclosure of uninitialized/stale memory (confidentiality only); there is no write, corruption, or crash primitive described.

Impact

This is a genuine but lower-tier priority. The CVSS 4.0 base of 4.8 (medium) is driven by a local attack vector (AV:L), low complexity (AC:L), no privileges (PR:N) but required passive user interaction (UI:P), and an impact limited to low confidentiality only (VC:L; VI:N/VA:N) - i.e. an information leak with no code execution, corruption, or denial of service. The signals are internally consistent: a local/file-based memory-disclosure flaw that fires only when a victim processes an attacker-supplied DNG file. Exploitation status is 'no public exploit identified at time of analysis' - the references include a fix commit, PR, and VulnCheck advisory, but none is a PoC or exploit. No CISA KEV listing and no EPSS score were provided in the input, so probabilistic exploitation likelihood cannot be quantified here; absence of these is not evidence of safety but does mean no active-exploitation signal exists. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with a non-urgent but patch-worthy memory-disclosure bug. Net: a real, confirmed-and-fixed defect worth patching on a normal cycle, not a high-CVSS-but-low-real-risk false alarm, but also not an emergency - its ceiling is leaking stale heap bytes, not takeover. EPSS and KEV data are missing from the input and should be checked before final prioritization.

Exploit ScenarioDerived

An attacker crafts a malicious DNG (TIFF-based) image in which TileWidth or TileLength is set near INT_MAX, then delivers it to a victim who decodes it with FFmpeg (e.g. transcoding, metadata/thumbnail extraction, or an application embedding libavcodec). Because the integer overflow collapses the tile count to zero, the decode loop never runs and FFmpeg emits a frame populated with uninitialized or stale heap memory, potentially disclosing sensitive data to the attacker if the output is observable. No public exploit is identified; the local vector and required user interaction mean the victim must actively process the attacker's file.

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

Uninitialized heap memory disclosure in FFmpeg through 9.0.2 is triggered when the TIFF/DNG decoder processes a crafted DNG image whose TileWidth or TileLength tag is set near INT_MAX. The integer overflow makes the tile count evaluate to zero so the tile loop never runs, and the output frame can expose uninitialized or stale heap contents. The attack is local (AV:L), requires the victim to process the malicious file (UI:P), needs no privileges (PR:N), and affects confidentiality only; no public exploit code was identified at time of analysis, and this is a genuine but lower-tier priority issue.

RemediationAI

Apply the upstream fix in commit a9c070e52fecb7fb247db829130899db07953823 (pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24999), which rewrites the tile-count arithmetic in dng_decode_tiles() to avoid the overflow; this is an upstream fix available as a commit/PR, and a released patched FFmpeg version was not independently confirmed in the supplied data, so track the commit or the next tagged release after 9.0.2. Vendor references are https://github.com/FFmpeg/FFmpeg/commit/a9c070e52fecb7fb247db829130899db07953823 and the VulnCheck advisory https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-integer-overflow-via-dng-decode-tiles-in-libavcodec-tiff-c. No workaround or compensating control is described in the available sources; exposure is limited to processing attacker-supplied DNG files through the affected decoder, and the described impact is confidentiality-only.

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

CVE-2026-125247 is a CWE-190 integer overflow in FFmpeg's libavcodec/tiff.c, inside dng_decode_tiles(), the routine that assembles tiled DNG images (DNG is a TIFF-based raw image format). The vulnerable code computed tile_count_x as (s->width + s->tile_width - 1) / s->tile_width and tile_count_y analogously; with a TIFF TileWidth or TileLength tag near INT_MAX, the signed addition overflows so the computed tile count becomes zero, the per-tile decoding loop never executes, and the frame is emitted with uninitialized or stale heap memory. The upstream commit a9c070e52fecb7fb247db829130899db07953823 replaces the expressions with (s->width - 1) / s->tile_width + 1 and the equivalent for tile_length, avoiding the overflow. The trigger is specifically crafted DNG tile dimensions; no write, corruption, crash, or code-execution primitive is described, and impact is limited to confidentiality.

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

Local file-processing trigger (AV:L) needing the victim to decode the crafted DNG (UI:R), no privileges (PR:N), and impact limited to a partial memory leak (C:L, I:N, A:N).

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

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

DescriptionCVE.org

FFmpeg through 9.0.2 contains an integer overflow vulnerability in dng_decode_tiles() that allows attackers to leak uninitialized memory via crafted DNG tile dimensions. Attackers can set TileWidth or TileLength near INT_MAX so the tile loop never runs, outputting a frame exposing uninitialized or stale heap memory.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is embedded across countless media tools, servers, and OS distributions
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

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

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