Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft DNG with tile dimension near INT_MAX
-
DeliveryDeliver file to victim for processing
-
ExploitFFmpeg decodes via dng_decode_tiles()
-
ExecutionInteger overflow zeroes tile count, loop skipped
-
ImpactOutput 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120197
GHSA-jhv5-xmvg-qh9f
NVD
CVE.org
EPSS
Exploit-DB