Home › CVE › Vulnerabilities
CVE-2026-125247 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg up to 9.0.2: DNG tile integer overflow can leak uninitialized heap memory (CVE-2026-125247)
| CVE | CVE-2026-125247 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:11 UTC |
| Research cut-off | November 12, 2026 05:56 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Executive summary
CVE-2026-125247 is an integer overflow (CWE-190) in FFmpeg's DNG tile-decoding function dngdecodetiles(), which can cause a decoded frame to expose uninitialized or stale heap memory when crafted tile dimensions are supplied [1]. NVD's record is in Awaiting Analysis, and its only CVSS scores are secondary scores from VulnCheck: CVSS 4.0 base score 4.8 (Medium) with vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X, and CVSS 3.1 base score 3.3 (Low) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N [1]. The vendor's CVE record lists FFmpeg versions up to and including 9.0.2 as affected, with no lower bound and no fixed version published in the reviewed sources [1]. Exploitation requires a local attack vector and a victim or process to decode a crafted DNG file, and the realistic impact is limited to information disclosure through the decoded output [1]. The vulnerability is not in the CISA KEV catalog as of 2026-11-12, and the FIRST EPSS estimate is 0.0012 (percentile 0.0201), which is a statistical estimate and not evidence of exploitation [2, 3]. The most important immediate action is to inventory every FFmpeg installation and pipeline that decodes DNG or TIFF input, identify which ones process files from untrusted sources, and restrict or isolate that processing until a fixed release is confirmed [1, 3].
Key points
- CVE-2026-125247 is an integer overflow (CWE-190) in FFmpeg's DNG tile decoding that can expose uninitialized or stale heap memory in decoder output [1].
- NVD's record is in Awaiting Analysis; its only CVSS scores are secondary: 4.8 Medium (CVSS 4.0) and 3.3 Low (CVSS 3.1) [1].
- The vendor-published affected range is FFmpeg through 9.0.2; no fixed version is established in the reviewed sources [1].
- Exploitation needs a local attack vector and a crafted DNG file processed by FFmpeg, with user interaction per the vectors [1].
- Not in CISA KEV as of 2026-11-12, and the EPSS estimate is 0.0012 [2, 3]. Neither is evidence that exploitation has or has not occurred.
- Immediate priority: inventory FFmpeg builds, restrict untrusted DNG and TIFF input, and isolate decoding until a fixed release is confirmed [1, 3].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125247 | [1] |
| Vendor / CNA | FFmpeg project (vendor published affected versions in the CVE record) | [1] |
| Product / component | FFmpeg, DNG tile decoding in dngdecodetiles() (libavcodec TIFF-related code path, per the record's references) | [1] |
| Affected platform | Not established by the reviewed sources beyond the FFmpeg product itself | [1] |
| Published | 2026-11-09T19:17:03 | [1] |
| Last modified | 2026-11-10T21:46:42 | [1] |
| Record status | Awaiting Analysis (NVD has not yet completed its analysis) | [1] |
| CWE | CWE-190, Integer Overflow or Wraparound | [1] |
| CVSS 4.0 | 4.8 Medium; CVSS:4.0 vector as given in the executive summary; scorer disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 3.3 Low; CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N; scorer disclosure@vulncheck.com (Secondary) | [1] |
| KEV status | Not listed as of 2026-11-12 | [2] |
| EPSS | 0.0012 (0.12%) probability of exploitation activity in 30 days; percentile 0.0201 | [3] |
| Related identifiers | The record references a FFmpeg pull request, a FFmpeg commit, a source location in the 9.0.2 tag, and a VulnCheck advisory; their contents were not included in the evidence pack | [1] |
No NVD-generated CVSS score is present in the record. Both CVSS scores are secondary, from the same scorer, and they differ in the user interaction and scope metrics. The CVSS 4.0 record includes supplemental and environmental metrics set to X (not defined), so only its base metrics are meaningful here [1].
Technical background
FFmpeg is an open-source multimedia framework whose libraries (including libavcodec) decode and encode audio and video. Its command-line tool and libraries are embedded in many applications, such as media converters, transcoding services, content management systems and video pipelines, so FFmpeg often processes files supplied by users or external parties [1].
DNG (Digital Negative) is a raster image format built on the TIFF structure. A DNG file stores image data in tiles, meaning rectangular blocks whose width and height (TileWidth and TileLength in the TIFF/DNG tags) define how the image is partitioned. A decoder reads these dimensions from file metadata, computes how many tiles exist and how much memory each occupies, and then copies or decodes tile data into an output frame [1]. Because the dimensions come from the file, they are untrusted input and must be validated before they are used in arithmetic or memory sizing.
Trust boundary: the file contents, including tag values, are controlled by whoever created or supplied the file. Any system that decodes such a file with FFmpeg therefore crosses a trust boundary when it processes external input [1]. Analyst assessment: a decoder that trusts the dimensions it reads from a file would be exposed to this class of issue whenever a dimension calculation can wrap around.
Vulnerability description
The record describes an integer overflow in the DNG tile decoding function dngdecodetiles() in FFmpeg through version 9.0.2. A crafted file that sets TileWidth or TileLength to a value near the largest representable integer can cause an arithmetic wraparound. The record states that the resulting condition prevents the tile loop from running, and the decoder then outputs a frame that contains uninitialized or stale heap memory [1].
Security property violated: confidentiality. The record indicates that memory contents that the program did not intend to expose can appear in decoder output [1].
What an attacker can cause or access, per the record: the attacker can cause a decoded frame to contain residual heap contents. The record does not state how much memory is exposed, what data it might contain, or whether the attacker can read the output [1].
Conditions that must exist for the flaw to matter: FFmpeg must decode the crafted DNG file, and the resulting frame must be made visible to the attacker or stored or shared where the attacker can access it. The CVSS vectors indicate that user interaction is required, and in the CVSS 3.1 vector the user must take an action (UI:R), while the CVSS 4.0 vector marks it as passive (UI:P) [1].
What the reviewed sources do not establish: whether the flaw causes memory corruption, code execution, a crash, integrity or availability loss. The record and the CVSS vectors assign no integrity or availability impact (I:N, A:N in CVSS 3.1; VI:N, VA:N in CVSS 4.0) [1]. This article does not claim those impacts.
Root cause analysis
Confirmed: The record classifies the weakness as CWE-190, Integer Overflow or Wraparound, and places the overflow in the tile dimension handling of dngdecodetiles() [1].
Analyst assessment: The overflow occurs in arithmetic that uses the file-supplied tile dimensions, most likely when computing tile counts, offsets or loop bounds. When the wrapped value is used as a loop bound or a size, the tile loop can be skipped or miscomputed. The output frame buffer is then not fully written by the decoding logic, so the bytes left in it reflect previous heap contents. Why existing controls fail: the code path appears to lack a range check on the tile dimensions before they are used in arithmetic, and the output buffer appears not to be zero-initialized before the loop runs [1]. The reviewed sources do not show the affected source lines or the actual arithmetic, so the specific fix cannot be confirmed from the pack.
The record's references include the FFmpeg commit and the pull request that may correct the code, but their contents were not included in the pack, so the root cause as implemented in the fix is Unknown [1].
Technical mechanics
- A DNG file is supplied to FFmpeg, either directly on the command line or through an application that passes it to libavcodec [1].
- The TIFF/DNG parser reads the TileWidth and TileLength tag values from the file. These values are untrusted [1].
- dngdecodetiles() uses these values in arithmetic to derive tile counts, offsets or loop limits [1]. Analyst assessment: no validation is shown in the record that rejects values near the integer maximum.
- The arithmetic wraps around because the result exceeds the integer range. The record describes the result as preventing the tile loop from running [1].
- The decoder continues and returns an output frame. The record states that the frame contains uninitialized or stale heap memory [1].
- Whoever receives or can read the output frame can observe the residual memory content [1]. Whether a downstream system exposes the frame depends on the application, which is not established by the reviewed sources.
The security control that should have prevented the issue is validation of attacker-controlled dimensions before arithmetic, combined with bounded and initialized allocation of the output buffer. Illustrative: a validation step would reject tile dimensions whose product or sum with the offset cannot be represented, and a zero-initialized frame would prevent residual data from appearing in output. Neither control is described in the reviewed sources as part of the vendor's fix.
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Not required by the vector (AV:L) | [1] |
| Adjacent network access | Not required by the vector | [1] |
| Local access | Required by the vector (AV:L in both CVSS versions) | [1] |
| Physical access | Not stated by the reviewed sources | Not established by the reviewed sources |
| Authentication | Not required (PR:N in both vectors) | [1] |
| Privilege level | No privileges required by the vector | [1] |
| User interaction | Required; CVSS 3.1 uses UI:R (user action required); CVSS 4.0 uses UI:P (passive user participation) | [1] |
| Required configuration | Decoding of DNG input by FFmpeg is needed; whether default builds enable DNG decoding is not established by the reviewed sources | [1] |
| Attacker position | Must supply a crafted DNG file to a process that decodes it | [1] |
| Dependencies | FFmpeg versions up to and including 9.0.2 | [1] |
The local attack vector means the attacker must reach the system or the file-processing path, for example by getting a file into a workflow that FFmpeg processes. The CVSS vectors describe this scoring context; they do not establish that a specific deployment is reachable by an attacker. Analyst assessment: a service that accepts uploaded images and decodes them with FFmpeg would have an exposure path that does not require a local login, but the vector scores it as local and the record does not discuss that architecture.
Exploitation scenarios and attack lifecycle
Illustrative scenario 1: A media-processing service accepts DNG uploads from external users and generates preview frames with FFmpeg. An attacker uploads a crafted file, and the generated preview contains residual memory from the service process. The attacker downloads the preview and reads the leaked data. The record does not confirm this chain; it is a hypothetical scenario that follows from the record's description.
Illustrative scenario 2: An analyst or workstation user opens a crafted DNG file in a tool that uses FFmpeg for thumbnailing, and the resulting thumbnail is copied to a shared location. This matches the user interaction requirement in the CVSS vectors, but no source documents it.
Lifecycle: Confirmed: the record describes the flaw and its condition, but no source documents an exploit, an attack campaign or any observed use [1, 2, 3]. Not established by the reviewed sources: initial access method, post-exploitation activity, lateral movement or data exfiltration.
Defensive opportunities: restrict which systems and users can submit DNG or TIFF files to FFmpeg; run decoding in an isolated worker with no access to sensitive data; log file-processing requests and output file creation; and deny delivery of decoded output to untrusted parties until the fix is applied.
Impact analysis
| Area | Technically demonstrated per record | Plausible downstream consequence (not demonstrated) |
|---|---|---|
| Confidentiality | Low impact per CVSS 3.1 (C:L) and VC:L in CVSS 4.0; the record describes disclosure of uninitialized or stale heap memory [1] | Exposure of data that was resident in the decoding process, depending on what the process handles; not established by the reviewed sources |
| Integrity | None assigned (I:N; VI:N) [1] | Not established by the reviewed sources |
| Availability | None assigned (A:N; VA:N) [1] | Not established by the reviewed sources |
| Authentication and authorization | No authentication bypass described [1] | Not established by the reviewed sources |
| Privilege boundaries | Not described in the record; no privilege escalation described [1] | Not established by the reviewed sources |
| Data and privacy | The record describes memory disclosure through decoder output [1] | Personal data within processed images or process memory could be exposed; scope depends on the deployment, which is not established by the reviewed sources |
| Business operations | Not described [1] | Not established by the reviewed sources |
| Regulatory or contractual | Not described [1] | Depends on the organization's data handling obligations; not assessed here |
Affected products and versions
| Vendor | Product / component | Affected versions | Platform / deployment | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | FFmpeg, libavcodec DNG tile decoding | Through 9.0.2 (affected less than or equal to 9.0.2) | Any platform building the affected code; not further specified | Not established by the reviewed sources | Vendor-published in the CVE record [1] |
The lower bound of the affected range is not established by the reviewed sources, so older versions cannot be excluded from the range without further evidence. The record's affected statement and its description both point to 9.0.2 as the last affected version [1]. Known exclusions: none are documented in the pack. Distribution builds that backport fixes may report a different version string; this is not established by the reviewed sources and should be checked with the distributor.
Exploitation and threat intelligence status
Confirmed exploitation in the wild: Not established by the reviewed sources. The CISA KEV catalog does not list the CVE as of 2026-11-12, but the catalog's absence is not evidence that exploitation has not occurred [2].
Public proof of concept: The pack contains no exploit reference. The record links to a VulnCheck advisory, whose contents were not reviewed [1]. Public proof-of-concept availability: Not established by the reviewed sources.
EPSS: 0.0012 probability of exploitation activity in the next 30 days, percentile 0.0201, dated 2026-11-10 [3]. EPSS is a statistical model estimate and does not indicate observed exploitation [3].
Threat actors, campaigns and sectors: Not established by the reviewed sources; no source attributes activity.
Evidence reliability: the NVD record is dated 2026-11-10 and in Awaiting Analysis status, so its scoring and its affected information may change [1]. The KEV check reflects the catalog state on 2026-11-12 [2].
Indicators of compromise
The reviewed sources give no file hashes, file names, domains, IP addresses, URLs, process names, command lines, log events or network patterns for this CVE. No indicators of compromise are provided, and none are invented here [1, 2, 3]. Absence of indicators does not show that the system is not affected or was not targeted. Any indicator added later must be validated against the source before blocking, because indicators go stale quickly.
Detection and exposure assessment
Asset inventory: Identify every host, container image, application and build that includes FFmpeg libraries or the ffmpeg executable, including bundled copies inside third-party applications. Record the version of each. This step is necessary because the affected range is FFmpeg through 9.0.2 [1].
Version check (standard FFmpeg tooling, read-only): run the command ffmpeg -version on each host where the ffmpeg executable is installed. Prerequisites: the ffmpeg binary must be on the PATH or its path known. Expected output: a version line and the build configuration and library version lines. Limitations: the version string may not reflect backported fixes, and bundled libraries inside applications may not use the system binary. A version check is not proof of exploitability.
Configuration check: determine whether the build includes the TIFF/DNG decoding path. The reviewed sources do not give a read-only command for this, so the check must be done against the build configuration or the vendor's documentation; Not established by the reviewed sources.
Exposure check: identify pipelines that accept DNG or TIFF files from external sources, including web uploads, email attachments, shared storage and integrations with third-party systems. Classify each as external, partner or internal input.
Log and telemetry review: review application logs of file-processing jobs for DNG or TIFF inputs and for the outputs they produced. The reviewed sources give no log event or field for this CVE, so the log query must be written against the organization's own logging schema.
Authenticated vulnerability scanning: check whether your scanner identifies FFmpeg version 9.0.2 or earlier; scanner coverage for this CVE is not established by the reviewed sources.
Immediate mitigation
- Restrict DNG and TIFF input to FFmpeg (Analyst assessment; follows from the flaw being in DNG tile decoding per the record [1]). Protects against: untrusted file submission reaching the vulnerable path. Limitations: does not remove the flaw from any trusted file. Side effects: some workflows may fail. Verification: test that DNG uploads are rejected at the ingest layer and that the rejection is logged.
- Isolate decoding in a worker process that has no access to secrets, credentials, other tenants' data or sensitive storage (Analyst assessment). Protects against: the impact of any leaked process memory. Limitations: does not prevent the disclosure itself. Verification: confirm the worker's file system and network permissions with the platform's configuration tool.
- Restrict who can read decoded outputs, such as previews and thumbnails, and stop automatic publication of decoded frames from untrusted inputs (Analyst assessment). Verification: confirm access control lists or storage permissions on output locations.
- Disable the TIFF decoder in FFmpeg builds where DNG and TIFF decoding are not required, using the build configuration option for that decoder (Analyst assessment). Limitations: requires a rebuild; confirm the option name with the configure help for the specific FFmpeg source version used. Verification: run the version check and confirm the build configuration no longer lists the decoder.
- Increase monitoring of file-processing jobs and output creation for affected pipelines (Analyst assessment). Verification: confirm that log entries for DNG inputs are generated and forwarded to the central log platform.
None of these measures is described as a vendor mitigation in the reviewed sources.
Permanent remediation
Vendor-confirmed fix: none is established by the reviewed sources. The record references a commit and a pull request that may contain the correction, but their content was not included in the pack [1]. Therefore no fixed version can be stated.
Recommended action: monitor the FFmpeg project's release announcements and the referenced commit and pull request. Once a release that includes the correction is published, upgrade affected installations to that release, or to the distributor's patched package if the distribution backports fixes. Confirm the fixed version against the official FFmpeg release or distributor advisory before deploying.
Prerequisites: test the upgrade in a staging environment with the existing workflows, back up configuration and binaries before replacing them, schedule a maintenance window for services that embed FFmpeg, and keep the previous build available for rollback. Restart requirements depend on how FFmpeg is embedded; the reviewed sources do not establish a restart requirement, so restart each dependent service after its library is replaced.
Distinction: the fix above is not yet vendor-confirmed in the pack. Hardening measures in the Immediate mitigation section are recommended and not vendor fixes.
Workarounds and compensating controls
No vendor workaround is established by the reviewed sources. Compensating controls in the mitigation section (input restriction, isolation, output access control, and optional decoder removal) reduce exposure but leave the flaw in place for any DNG file that is still processed. They are not equivalent to a fixed release, because they depend on controls that can be bypassed or misconfigured and because the affected code remains in the binary. Residual risk remains for every workflow that still decodes DNG or TIFF input from an untrusted source.
Validation and verification
- Confirm the installed version or build with ffmpeg -version on every host, and record the build configuration lines and the library versions. Expected: a version above 9.0.2 only after the vendor or distributor fix is installed; a version of 9.0.2 or earlier means the host remains in the affected range [1].
- Confirm the relevant configuration: if the TIFF decoder was removed, confirm it is absent from the build configuration; if input restrictions were applied, test with a benign DNG sample from a trusted source that the pipeline still processes normal files, and confirm that rejected inputs are logged.
- Confirm that the output access controls on decoded-frame storage are in effect, using the platform's permission listing.
- Re-run authenticated scanning and check that the finding is cleared from the scanner's results, recognizing that scanner coverage is not established by the reviewed sources.
- Review service health and logs after the change for errors in file-processing jobs.
- Confirm that compensating controls remain in place for any system that still runs an affected version.
- Record evidence: owner, date, host list, version output, configuration changes and exceptions. A single check is not sufficient to claim the system is secure.
Do not create crafted test files to probe the flaw. Use only trusted, benign inputs for functional testing.
Incident response
If there is evidence that a crafted DNG file was processed by an affected FFmpeg build from an untrusted source, treat it as a potential information disclosure event.
- Triage and scope: identify the systems, pipelines and time window in which DNG or TIFF inputs from external sources were processed, using application and job logs.
- Containment: restrict access to the affected pipeline and to output storage; suspend external DNG uploads.
- Evidence preservation: preserve the input files, the decoded outputs, job logs and the FFmpeg binary and version output, without modifying them. Follow the organization's incident response plan.
- Investigation: determine whether decoded outputs were downloaded, shared or published, and by whom, using storage access logs and platform audit logs. The reviewed sources give no specific indicators.
- Credential rotation: rotate credentials or secrets only if the evidence shows they were in the process or outputs. This is not established by the reviewed sources as a required action.
- Eradication and patching: upgrade to a fixed release when available and remove or isolate affected builds.
- Recovery and monitoring: restore services with validated versions and monitor the pipeline for unexpected DNG inputs.
- Notification: assess whether any personal or contractual data was exposed and follow applicable notification obligations. These obligations are not assessed in this article.
- Lessons learned: document the exposure path and update the ingest controls.
Security hardening and prevention
Secure development and code review (defence-in-depth, broader than this CVE): require explicit range checks on every file-supplied dimension before it is used in arithmetic or memory sizing, and add tests with boundary values near the integer maximum to the decoder's regression suite. Analyst assessment, based on CWE-190 [1].
Memory initialization (defence-in-depth): allocate output frame buffers as zero-initialized memory so that stale heap contents cannot be returned in decoded output [1].
Least privilege and isolation: run FFmpeg for untrusted input in a separate, unprivileged process with restricted file system and network access.
Attack-surface reduction: build FFmpeg with only the decoders and demuxers the organization requires.
Patch and vulnerability management: track FFmpeg and distributor advisories, and maintain an inventory that records each embedded copy of FFmpeg.
Logging and monitoring: record each file-processing job with its input source, format and output location, and alert on DNG inputs from external sources.
Security testing: include negative tests with malformed tag values in the test suite for each release.
Risk assessment
Technical severity: CVSS 4.0 base 4.8 (Medium) and CVSS 3.1 base 3.3 (Low), both secondary scores [1]. The two scores differ, so the technical severity depends on which scoring model the organization uses.
Exposure and asset criticality: depends on whether FFmpeg decodes DNG or TIFF input from untrusted sources and whether its outputs are shared. Not established by the reviewed sources for any specific environment.
Prerequisites and attacker opportunity: local attack vector, no privileges, and user interaction, per the vectors [1]. The record does not establish the realistic ease of delivering a crafted file in a given environment.
Evidence of exploitation: none in the pack. KEV does not list the CVE [2]. EPSS is 0.0012 with percentile 0.0201 [3].
Potential business impact: limited to confidentiality of data present in decoded output or process memory, as described in the record [1]. Downstream impact is not established.
Existing controls and residual risk: none are documented for this CVE in the pack. Residual risk remains until a fixed version is deployed on all affected builds.
Recommended priority (organization-specific, not a CVSS score): assumptions are that FFmpeg is present and that DNG or TIFF input is accepted from external parties. Under these assumptions, prioritize inventory and input restriction now, and schedule the upgrade for the first fixed release. Lower the priority for systems that do not decode DNG or TIFF input and do not run FFmpeg on untrusted files. This rating is not the CVSS score and is based on the assumptions stated.
Conclusion
CVE-2026-125247 is an integer overflow in FFmpeg's DNG tile decoding that, according to the record, can cause a decoded frame to contain uninitialized or stale heap memory [1]. The vendor-published affected range is FFmpeg through 9.0.2, and no fixed version is established by the reviewed sources [1]. The flaw is not in the KEV catalog, and EPSS is low [2, 3]. Operators who run FFmpeg should act first by identifying exposed builds and pipelines and by restricting untrusted DNG and TIFF input. The permanent fix is an upgrade to a release that includes the correction, once it is confirmed from the vendor or distributor. Closing the issue requires vendor or distributor confirmation of the fixed version, version evidence from every affected host, and validated compensating controls for any system still on an affected build.
Remediation checklist
- Inventory every host, container image and application bundle that includes FFmpeg, and record the version of each; the affected range is FFmpeg through 9.0.2 [1].
- Run ffmpeg -version on each host with the ffmpeg binary and record the version and library lines; a result of 9.0.2 or earlier means the host is in the affected range [1].
- Identify each pipeline that accepts DNG or TIFF files from external or partner sources and classify its input trust level [1].
- Reject DNG and TIFF uploads at the ingest layer for untrusted sources, and log each rejection; verify with a benign trusted sample that normal processing still works [1].
- Move FFmpeg decoding of any remaining untrusted input into an isolated, unprivileged worker with no access to secrets or sensitive storage (Analyst assessment).
- Restrict access to decoded outputs such as previews and thumbnails, and verify the permissions on output storage locations (Analyst assessment).
- Where DNG and TIFF decoding are not needed, consider rebuilding FFmpeg without the TIFF decoder after confirming the configure option name for the version in use; verify that the build configuration no longer lists it (Analyst assessment).
- Monitor the FFmpeg project's releases and the commit and pull request referenced in the NVD record; upgrade to the first release or distributor package confirmed to contain the fix [1].
- Before upgrading, test in staging, back up binaries and configuration, schedule a maintenance window for services embedding FFmpeg, and keep the previous build for rollback.
- After upgrading, re-check the version on every host, re-run authenticated scanning, and review file-processing job logs for errors [1].
- If evidence suggests an untrusted DNG was processed by an affected build, preserve inputs, outputs and logs, then assess who accessed the decoded outputs (Analyst assessment).
Evidence gaps
- Fixed version: the reviewed sources do not state a fixed FFmpeg version or distributor patch; the referenced commit and pull request would need to be reviewed or the vendor release notes consulted [1].
- Lower bound of the affected range: the record states only that versions through 9.0.2 are affected, so older versions cannot be excluded without the vendor's version history [1].
- Root cause in code: the specific arithmetic and buffer handling in dngdecodetiles() are not shown in the pack; the referenced source location and commit would settle this [1].
- NVD analysis: the record is in Awaiting Analysis and carries only secondary CVSS scores; a primary NVD or vendor-assessed score would settle the severity [1].
- Default build exposure: whether default FFmpeg builds and distribution packages enable DNG decoding is not established; the build configuration or distributor documentation would settle this.
- Exploitation evidence: no in-the-wild exploitation is documented in the pack; the VulnCheck advisory and threat intelligence reporting would need to be reviewed [1, 2].
- Public proof of concept: the pack contains no exploit reference; the linked VulnCheck advisory content would need to be reviewed [1].
- Indicators of compromise: none are given; vendor or threat intelligence guidance would be needed for file, log or network indicators.
- Impact scope: the amount and nature of memory exposed, and whether it reaches users, is not established; a vendor analysis or reproduction in an authorized test environment would settle this.
- Downstream product exposure: which third-party applications embed FFmpeg and how they expose decoded output is not established by the pack; vendor statements from those products would be needed.
References
- CVE-2026-125247 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125247. Accessed 2026-11-12.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-12. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-12.
- EPSS score for CVE-2026-125247. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125247. Accessed 2026-11-12.
Summary
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.
Severity breakdown
Medium · 4.8
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-190: Integer Overflow or Wraparound
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125247?
CVE-2026-125247 is an integer overflow (CWE-190) in FFmpeg's DNG tile-decoding function dngdecodetiles(), which can cause a decoded frame to expose uninitialized or stale heap memory when crafted tile dimensions are supplied. Weakness type: Integer Overflow or Wraparound (CWE-190).
How severe is CVE-2026-125247?
CVE-2026-125247 has a CVSS 4.0 base score of 4.8 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-125247 being exploited?
Not as far as is known: CVE-2026-125247 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125247?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125247?
Inventory every host, container image and application bundle that includes FFmpeg, and record the version of each; the affected range is FFmpeg through 9.0.2. Run ffmpeg -version on each host with the ffmpeg binary and record the version and library lines; a result of 9.0.2 or earlier means the host is in the affected range. Identify each pipeline that accepts DNG or TIFF files from external or partner sources and classify its input trust level.