Home › CVE › Vulnerabilities
CVE-2026-125268 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg CineForm HD Decoder Uninitialized Heap Memory Disclosure (CVE-2026-125268)
| CVE | CVE-2026-125268 |
|---|---|
| Vendor and product | FFmpeg |
| Published | November 12, 2026 07:20 UTC |
| Research cut-off | November 12, 2026 07:12 UTC |
| Updated | November 25, 2026 15:21 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-10); CISA KEV catalog; FIRST EPSS (2026-11-10) |
Update — November 25, 2026
- NVD finished its analysis of this CVE. (NVD record)
- Fixes are now listed: code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718, github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/cfhd.c.
Executive summary
CVE-2026-125268 is an information disclosure flaw in the CineForm HD (CFHD) decoder of FFmpeg, where a temporary buffer used during decoding can carry uninitialized heap bytes into decoded video output [1]. The NVD record lists a CVSS 4.0 base score of 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 a CVSS 3.1 score of 3.3 (LOW) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N; both scores are secondary assessments by VulnCheck, and the record is still Awaiting Analysis [1]. The record states that FFmpeg through 9.0.2 is affected, and the reviewed sources establish no fixed version [1]. Exploitation requires an attacker-crafted CFHD file to be decoded, and the record indicates the attacker must be able to observe the decoded output; the reviewed sources do not establish any other access path [1]. The flaw is not listed in the CISA KEV catalog as of 2026-11-12, which is not evidence that it has not been exploited [2]. The FIRST EPSS estimate of exploitation activity in the next 30 days is 0.0013 (0.13%), which is a statistical estimate and not evidence of exploitation [3]. The most important immediate action for defenders is to identify FFmpeg builds up to 9.0.2 that include the CFHD decoder and stop decoding untrusted CFHD input outside isolated environments until a vendor fix is confirmed and deployed [1].
Key points
- CVE-2026-125268 is an information disclosure flaw in FFmpeg's CFHD decoder: uninitialized heap bytes can reach decoded output from a crafted file [1].
- The record lists CVSS 4.0 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/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 3.3 LOW, both secondary by VulnCheck, with the record still Awaiting Analysis [1].
- FFmpeg through 9.0.2 is the vendor-published affected range; no fixed version is established by the reviewed sources [1].
- Not listed in CISA KEV as of 2026-11-12; EPSS is 0.0013, and neither establishes whether exploitation has or has not occurred [2, 3].
- Immediate action: inventory FFmpeg at 9.0.2 or earlier, check whether the CFHD decoder is built in, and stop decoding untrusted CFHD input outside isolated workers [1].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125268 | S1 |
| Vendor | FFmpeg project | S1 |
| Product | FFmpeg | S1 |
| Component | CineForm HD (CFHD) decoder, libavcodec/cfhd.c | S1 |
| Affected platform | Not established by the reviewed sources | S1 |
| Published | 2026-11-09T20:18:13 | S1 |
| Last modified | 2026-11-10T21:46:37 | S1 |
| Record status | Awaiting Analysis | S1 |
| CWE | CWE-908 (Use of Uninitialized Resource) | S1 |
| CVSS 4.0 | 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/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; scorer: VulnCheck (Secondary) | S1 |
| 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: VulnCheck (Secondary) | S1 |
| CISA KEV | Not listed as of 2026-11-12 | S2 |
| EPSS | 0.0013 (percentile 0.0252), dated 2026-11-10 | S3 |
The two CVSS scores come from the same secondary scorer but disagree in several places. The 4.0 vector sets user interaction to passive (UI:P), while the 3.1 vector sets it to required (UI:R). The 4.0 vector also rates confidentiality impact on the vulnerable system as low (VC:L), and the 3.1 vector rates confidentiality impact as low (C:L) with no integrity or availability impact in either version [1]. The record contains no NVD-assigned score and no vendor-assigned score, so the reviewed sources do not establish a authoritative severity [1]. Related identifiers listed in the record are a commit (0bfa350291b2118f6d590263dc1ee9cea766c0f1) in the FFmpeg repository, a pull request numbered 25718 on the FFmpeg code host, a source line reference in libavcodec/cfhd.c at the n9.0.2 tag, and a VulnCheck advisory; none of these linked pages were part of the reviewed pack, so their contents are not established [1].
Technical background
FFmpeg is an open-source multimedia framework. Its libavcodec library contains the codec implementations that decode compressed audio and video into raw frames for other programs [1]. Each codec decoder parses a container or bitstream, reads header fields that describe the picture, and reconstructs pixel data, usually through a series of buffers allocated on the heap, which is the memory area a program requests at runtime.
CineForm HD is a video codec that the record identifies by the name of its decoder in FFmpeg, cfhd [1]. Analyst assessment, not confirmed by the reviewed sources: the record's references to coded band heights and an inverse transform buffer suggest that CFHD stores picture data as subbands produced by a wavelet transform, and that the decoder reconstructs the picture by running an inverse wavelet transform over those subbands in a temporary working buffer.
Terms used in this article: an uninitialized buffer is memory that a program reserves without writing a known value into it, so it still holds whatever bytes were previously stored at that location. A trust boundary is the point where data from a less trusted source, here a media file supplied by an external party, is accepted by a more privileged component. CWE (Common Weakness Enumeration) is the MITRE classification of software weakness types, and CVSS (Common Vulnerability Scoring System) is a standardized severity scale. EPSS (Exploit Prediction Scoring System) is a FIRST probability estimate of exploitation activity in the next 30 days. CISA KEV is the catalog of vulnerabilities that CISA records as exploited in the wild.
Vulnerability description
The flaw violates confidentiality. Per the record, the CFHD decoder uses a temporary buffer named idwttmp that is not cleared before use, and a crafted file whose ImageHeight value is larger than the heights of the coded bands causes some of the buffer's uninitialized bytes to be carried into the decoded picture [1]. The attacker can therefore obtain heap memory contents that they could not otherwise read, as long as they can see the decoded output [1].
Conditions that must hold for the flaw to matter: FFmpeg is at version 9.0.2 or earlier [1]; the CFHD decoder is present in the build in use, which the reviewed sources do not establish for default builds; the process decodes an attacker-supplied CFHD file [1]; and the decoded output, or derived content, reaches a party the attacker can observe [S1, analyst assessment].
The record does not establish: code execution, memory corruption that writes to memory, a crash, control of which heap memory is exposed, the amount of data that can be extracted per file, or whether the leaked bytes contain secrets [1]. The CVSS integrity and availability metrics are rated none in both vectors, which is consistent with a disclosure-only description [1].
Root cause analysis
Confirmed (per the record [1]): the decoder uses a working buffer without initializing it, and the decoder does not validate that the ImageHeight value is consistent with the coded band heights before the buffer is processed.
Analyst assessment: the root cause is a combination of two defects. First, allocation without zero-initialization, which lets residual heap data remain in regions the decoder later treats as valid picture data. Second, missing or insufficient validation of a header dimension against the dimensions derived from the bitstream. The record links the issue to an ImageHeight tag and to unzeroed buffers, which supports both defects, but the reviewed sources do not include the patch or the code, so the precise fix and the exact arithmetic path are not established by the pack [1].
Why existing controls may not prevent this: a decoder that trusts header fields for buffer sizing or loop bounds can process rows that the bitstream never filled, and nothing in the decode path flags those rows as invalid. Memory-safety tooling such as uninitialized-read detectors would be needed to catch it during testing, but the pack does not indicate whether such testing was performed [S1, analyst assessment].
Technical mechanics
- The application passes a CFHD-encoded file to FFmpeg, which selects the CFHD decoder based on the stream's codec identification [S1, analyst assessment].
- The decoder reads header tags, including ImageHeight, from the attacker-supplied file [1].
- The decoder derives the coded band heights from the stream. The record indicates that the ImageHeight value can exceed these derived heights [1].
- The decoder allocates the temporary idwttmp working buffer on the heap without clearing it [1].
- Because the header value is larger than the coded data, some rows of the working buffer are never written from the bitstream and keep their prior contents [S1, analyst assessment].
- The inverse transform processes these rows as if they were valid picture data, and the residual bytes are written into the decoded frame [1].
- The decoded frame is returned to the calling application, where any party with access to that output can observe the residual bytes [S1, analyst assessment].
Controls that should have prevented the issue: validation that the header height is consistent with derived band heights before buffer use; zero-initialization of working buffers; and an output check that rejects or zeroes unwritten rows. The reviewed sources do not state which of these the vendor's fix adds [1].
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Basis |
|---|---|---|
| Access vector | Local (AV:L) | Vector in S1; the reviewed sources do not explain why the scorer chose local |
| Network reachability | Not established by the reviewed sources | Not stated in S1 |
| Authentication | None required (PR:N) | Vector in S1 |
| User interaction | 4.0 vector: passive (UI:P); 3.1 vector: required (UI:R) | Vectors in S1; the two scorings disagree |
| Required configuration | CFHD decoder present in the build; not established for default builds | Not established by the reviewed sources |
| Attacker position | Ability to supply a CFHD file to the decoding process, and to observe its output | S1 description; analyst assessment for the observation step |
| Privilege level | None required by the scorer | Vector in S1 |
| Environmental dependencies | Depends on the application that calls FFmpeg and on whether output is shared | Analyst assessment |
The CVSS vectors describe the scorer's assumptions, not confirmed exploitability in a given environment. The reviewed sources do not contain a proof of concept, so the practical ease of crafting a file that triggers the condition is not established.
Exploitation scenarios and attack lifecycle
Illustrative scenario 1: a content-processing service transcodes user-uploaded CFHD files with FFmpeg and returns the transcoded result to the uploader or to a shared location. An uploader who crafts a file with an out-of-range ImageHeight could receive frames containing residual heap bytes from the service process. Defensive opportunities: isolate the transcoding worker, reject or sandbox CFHD inputs, and review output for unexpected content.
Illustrative scenario 2: an analyst opens a crafted CFHD file in a local tool linked against vulnerable libavcodec and exports a frame. The residual bytes would appear in the exported image. Defensive opportunities: decode untrusted media only in disposable, unprivileged environments.
No source documents either scenario as an observed attack chain. The record describes the disclosure mechanism only [1], and the reviewed sources do not describe exploitation in the wild [2, 3]. Post-exploitation outcomes are not established.
Impact analysis
| Security area | Technically demonstrated by reviewed sources | Plausible downstream consequence (analyst assessment) |
|---|---|---|
| Confidentiality | Disclosure of uninitialized heap bytes into decoded video output [1] | Exposure of whatever sensitive data happened to reside in the freed or reused heap region; the content is not established |
| Integrity | None rated (I:N, VI:N) [1] | None established |
| Availability | None rated (A:N, VA:N) [1] | None established |
| Authentication and authorization | No bypass described; no authentication required by the scorer [1] | None established |
| Privilege boundaries | Not described in the record; the disclosure crosses from process memory into output | Whether this crosses a security boundary depends on who receives the output; not established |
| Data and privacy | Not established by the reviewed sources | Could matter if decoded output is shared with third parties |
| Business operations | Not established | Not established |
| Regulatory or contractual obligations | Not established | Depends on the data processed and jurisdiction; not established |
Affected products and versions
| Vendor | Product or component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg project | FFmpeg, CFHD decoder in libavcodec | Through 9.0.2 (vendor-published range in the CVE record) | Not established by the reviewed sources | Not established by the reviewed sources | S1; the lower bound of the range is not stated |
The record gives no lower bound, so all earlier releases are not confirmed as affected. Distribution packages that backport patches may differ from upstream version numbers, and the reviewed sources do not address such packages [1]. Whether a particular build includes the CFHD decoder is a configuration question the pack does not resolve.
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the reviewed sources.
- CISA KEV: not listed as of 2026-11-12 [2]. The catalog is not evidence of non-exploitation.
- EPSS: 0.0013 (0.13%) with percentile 0.0252, dated 2026-11-10 [3]. This is a model estimate and shows low predicted probability relative to other CVEs, not a measure of actual activity.
- Public proof of concept: not established by the reviewed sources. The record links a VulnCheck advisory [1], but its content was not reviewed, so it cannot be treated as confirmation of a working exploit.
- Threat actors, campaigns and targeted sectors: not established by the reviewed sources.
- Absence of public evidence is not proof that exploitation has not occurred.
Indicators of compromise
Not established by the reviewed sources. The pack contains no file hashes, file names, domains, IP addresses, process command lines or log events associated with this CVE. Any future indicator should be validated against the organization's own telemetry before blocking, because indicators go stale quickly.
Detection and exposure assessment
Asset inventory and version check. Run the following on each host or container that runs FFmpeg tools, using the standard FFmpeg command-line tool. Prerequisite: ffmpeg is on the PATH. Command: ffmpeg -version. Expected output: a banner whose first line names the FFmpeg version. Limitation: a version above 9.0.2 is not proof of a fix, and a version at or below 9.0.2 is not proof of exploitability; distribution builds may include backported changes.
Decoder presence check. Prerequisite: ffmpeg is installed. Command: ffmpeg -decoders, then search the output for the string cfhd. Expected output: a line for the CFHD decoder if the build includes it. Limitation: the decoder name is taken from the record's reference to cfhd.c [1], and the reviewed sources do not confirm the exact listing format; if no line appears, check the build configuration with the distribution or vendor documentation.
Library inventory. For applications that link libavcodec directly, identify the linked library version using the distribution's package manager or the application's build metadata. The reviewed sources do not provide a package-specific command.
Logs and telemetry. The reviewed sources provide no log events. Analyst assessment: review ingestion logs of media-processing services to identify CFHD inputs, and record the source and owner of each file, which supports scoping if output disclosure is later suspected.
Authenticated vulnerability scanning: whether a given scanner checks for this CVE is not established by the reviewed sources; confirm with the scanner vendor before relying on it.
Immediate mitigation
- Identify all FFmpeg installations at 9.0.2 or earlier and mark the hosts that decode external media. Protects against: unknown exposure. Limitation: inventory only. Side effects: none. Verification: inventory record with version output from the detection section. Source: analyst assessment.
- Restrict decoding of untrusted CFHD input. At the ingestion point, identify the codec of each uploaded file with ffprobe and reject or quarantine CFHD streams until the fix is deployed. Protects against: crafted input reaching the decoder. Limitation: codec identification depends on the probe reading the stream correctly, and the reviewed sources do not establish probe behaviour for malformed files. Side effects: legitimate CFHD media is rejected. Verification: test with a non-sensitive sample in a lab and confirm the rejection in logs. Source: analyst assessment.
- Move decoding of untrusted media into isolated, unprivileged workers with no access to sensitive data, secrets or other tenants' output. Protects against: exposure of nearby heap contents being meaningful. Limitation: the leaked bytes can still be sensitive within the worker's own memory. Side effects: operational cost. Verification: confirm the worker's file system and network access in configuration review. Source: analyst assessment.
- Stop sharing decoded output derived from untrusted CFHD files until the fix is deployed. Protects against: the observation step that the record describes [1]. Limitation: depends on the workflow. Verification: confirm the workflow change with the owners. Source: analyst assessment.
- Where the business does not need CFHD, rebuild FFmpeg with the CFHD decoder disabled using the standard configure option for disabling a decoder. Protects against: the vulnerable code path. Limitation: a rebuild is required and breaks CFHD support. Verification: rerun the decoder presence check above. Source: analyst assessment following standard FFmpeg build options; not stated in the reviewed sources.
Permanent remediation
Vendor-confirmed fix: not established by the reviewed sources. The record links a commit [1], but the reviewed sources do not state whether that commit is the fix, which releases contain it, or the first fixed version. Do not treat the commit reference alone as a confirmed fix.
Recommended action, analyst assessment: when the FFmpeg project or your distribution publishes a release that includes the fix, upgrade every affected installation to that release. Confirm inclusion by checking the release notes and, in a source checkout, confirming that the commit is an ancestor of the release tag with the standard git command for ancestry checks. Prerequisites: the source checkout and the release tag. Expected result: the command exits successfully for the release tag. Limitation: the reviewed sources do not establish the tag name or whether the fix is backported.
Upgrade prerequisites: test the new build against your own CFHD samples, back up the existing binaries or container images, schedule a maintenance window for services that use FFmpeg, and keep the rollback artifact. Restart requirement: not established by the reviewed sources; restart every process that loads libavcodec after the update.
Configuration changes after updating: not established by the reviewed sources.
Workarounds and compensating controls
The mitigations in the immediate mitigation section reduce exposure but do not correct the defect. Rejecting CFHD input and disabling the decoder remove the path entirely for those deployments, but they change functionality and need periodic review. Isolation limits the consequences of disclosure but does not stop the leak inside the worker. None of these measures is equivalent to a vendor fix, and the residual risk remains for any remaining decode path until the patched version is confirmed.
Validation and verification
- Confirm the installed version with ffmpeg -version on every host, and record the output.
- Confirm that the installed build's decoder list no longer includes the CFHD decoder if you chose the disable option, or confirm the fixed release if you upgraded.
- Confirm that the fixed release contains the fix using the release notes and the ancestry check described above; the reviewed sources do not provide a fixed version to compare against.
- Confirm the ingestion rejection rule by submitting a non-sensitive, lab-only CFHD test file and verifying that it is rejected or handled inside the isolated worker.
- Review service health and logs after the change for decode errors or unexpected output.
- Confirm that compensating controls remain in place for any hosts that cannot be upgraded.
- Record evidence, owner, date and any exceptions. No single check establishes that a system is secure.
Incident response
If there is evidence that untrusted CFHD files were decoded and their output shared or exposed: triage and scope which hosts, workers and users were involved; contain by stopping the affected pipeline and preserving input files, output files and logs without modification; determine what sensitive data the affected worker processed, which is not established by the reviewed sources; rotate credentials or secrets only where the scope of the worker's memory exposure makes that warranted; patch or disable the CFHD path as described above; monitor the affected services after recovery; and follow your organization's notification and reporting obligations, which the reviewed sources do not address. Record lessons learned.
Security hardening and prevention
Specific to this flaw, analyst assessment: initialize all working buffers used by the CFHD decoder before use, and validate every header dimension against the dimensions derived from the bitstream before allocation or loop bounds are computed. Add a regression test using a crafted sample in a test harness that uses memory-initialization checking, so the uninitialized read is caught during development.
Defence in depth, labelled as such: fuzz codec parsers with sanitizers in continuous integration; run media decoders under least privilege with no ambient access to secrets; separate decoding from output distribution; enable logging of codec and file metadata for media ingestion; and maintain an inventory of FFmpeg builds and linked libraries so future advisories can be scoped quickly.
Risk assessment
Technical severity: the record scores the flaw as medium under CVSS 4.0 and low under CVSS 3.1, both by a secondary scorer [1]. Exposure: depends on whether the organization decodes CFHD files from untrusted sources, which the reviewed sources cannot establish for any specific environment. Exploit prerequisites: local access in the vectors, no authentication required, and user interaction required in at least one scoring; the practical difficulty of crafting a triggering file is not established. Evidence of exploitation: none in the reviewed sources; the catalog listing is absent [2] and the EPSS estimate is low [3]. Potential business impact: depends on the sensitivity of data present in decoder memory and on who receives output, which is not established. Existing controls and residual risk: depend on the environment.
Recommended priority, analyst assessment: high for services that decode untrusted CFHD input and share output across trust boundaries; medium for internal workflows that decode only trusted files; low for installations that do not contain the CFHD decoder. The reasoning rests on the record's description of observable output rather than on the numeric scores. This is not a CVSS score, and its assumptions are that the decoder is present, untrusted input is accepted, and output crosses a boundary.
Conclusion
The core flaw is an uninitialized working buffer in FFmpeg's CFHD decoder, combined with an unvalidated ImageHeight value, that can carry residual heap bytes into decoded output [1]. Teams that run FFmpeg at version 9.0.2 or earlier, or that decode external media, should act first. The most urgent mitigation is to stop decoding untrusted CFHD input outside isolated workers and to disable the decoder where it is not needed. The permanent fix is an upgrade to a vendor release that is confirmed to contain the correction, which the reviewed sources do not yet identify [1]. Closing this issue requires the fixed version and fix confirmation from the FFmpeg project or distribution, evidence of version and decoder checks on every affected host, and the owner's record of compensating controls and exceptions.
Remediation checklist
- Inventory every host, container and application that runs FFmpeg or links libavcodec, and record each version with ffmpeg -version; treat anything at 9.0.2 or earlier as in scope [1].
- Check whether each build includes the CFHD decoder by running ffmpeg -decoders and searching for cfhd; record the result per build [1].
- At each media-ingestion point, identify codec of uploaded files with ffprobe and reject or quarantine CFHD streams until a fix is verified; test with a lab-only sample and confirm the rejection in logs [1].
- Move any remaining CFHD decoding into isolated, unprivileged workers that hold no secrets and have no access to other tenants' output [1].
- Stop sharing decoded output derived from untrusted CFHD files until the fix is deployed and verified [1].
- Where CFHD support is not needed, rebuild FFmpeg with the CFHD decoder disabled and rerun the decoder presence check to confirm the change [1].
- Monitor the FFmpeg project and your distribution for a release that the reviewed sources do not yet identify as containing the fix, and confirm inclusion through release notes and a commit ancestry check [1].
- After upgrading, restart all processes that load libavcodec, rerun ffmpeg -version, and retest with the lab-only CFHD sample [1].
- Add a regression test with a crafted sample under memory-initialization checking to any internal FFmpeg build pipeline [1].
- Record evidence, owner, date and exceptions for each host; do not treat a single version check as proof that the system is secure [1].
Evidence gaps
- Fixed version: the reviewed sources do not identify any release that contains the fix; this would be settled by the FFmpeg project's release notes or a distribution advisory [1].
- Fix confirmation: the commit referenced in the record is not confirmed as the fix; the commit contents and the linked pull request would need review [1].
- Full affected range: only 'through 9.0.2' is given with no lower bound; the earliest affected version would need the vendor's published range [1].
- Platform and build configuration: whether the CFHD decoder is included in default builds and distribution packages is not established [1].
- Scoring disagreement: the CVSS 4.0 and 3.1 vectors differ on user interaction and on impact; the NVD analysis that would reconcile them is not yet published [1].
- Proof of concept and exploitation: the linked VulnCheck advisory was not reviewed, so public exploit availability and in-the-wild use are not established [1, 2, 3].
- Indicators: no file hashes, names, network or log indicators are provided, so detection of past exploitation cannot be supported from the pack [1].
- Data exposure: the type and amount of heap data that could be disclosed is not established; a technical analysis of the decoder output would address this [1].
- Root cause detail: the exact code path and patch are not described in the reviewed sources beyond the record's summary [1].
References
- CVE-2026-125268 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125268. 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-125268. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125268. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains an uninitialized memory disclosure vulnerability in the CineForm HD decoder that allows attackers to leak heap memory via unzeroed idwt_tmp buffers in libavcodec/cfhd.c. Attackers can supply a crafted CFHD file with an ImageHeight tag exceeding coded band heights, causing uninitialized heap bytes to be filtered into decoded video output.
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-908: Use of Uninitialized Resource
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | ≤ 9.0.2 | — |
References by type
Patches and fixed releases
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25718
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/cfhd.c
- github.com/FFmpeg/FFmpeg/commit/0bfa350291b2118f6d590263dc1ee9cea766c0f1
Other references
Affected
- FFmpeg
Frequently asked questions
What is CVE-2026-125268?
CVE-2026-125268 is an information disclosure flaw in the CineForm HD (CFHD) decoder of FFmpeg, where a temporary buffer used during decoding can carry uninitialized heap bytes into decoded video output. Weakness type: Use of Uninitialized Resource (CWE-908).
How severe is CVE-2026-125268?
CVE-2026-125268 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-125268 being exploited?
Not as far as is known: CVE-2026-125268 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-125268?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125268?
Inventory every host, container and application that runs FFmpeg or links libavcodec, and record each version with ffmpeg -version; treat anything at 9.0.2 or earlier as in scope. Check whether each build includes the CFHD decoder by running ffmpeg -decoders and searching for cfhd; record the result per build. At each media-ingestion point, identify codec of uploaded files with ffprobe and reject or quarantine CFHD streams until a fix is verified; test with a lab-only sample and confirm the rejection in logs.