Home › CVE › Vulnerabilities
CVE-2026-125207 — FFmpeg
One of 121 FFmpeg vulnerabilities published together by NVD.
VulnerabilitiesResearch article
FFmpeg Interplay ACM decoder excessive memory allocation (CVE-2026-125207) enables denial of service
| CVE | CVE-2026-125207 |
|---|---|
| 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-125207 is a CWE-789 flaw in FFmpeg's Interplay ACM decoder, where a crafted file can drive an excessive memory allocation during decoder initialization, causing denial of service [1]. The NVD record carries CVSS 4.0 6.8 MEDIUM (vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/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 5.5 MEDIUM (vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H), both scored by a secondary scorer and both reflecting availability impact only [1]. The CVE record states that FFmpeg versions through 9.0.2 are affected, and the record status is Awaiting Analysis, so the affected range has not been independently confirmed by NVD and no fixed version is established by the reviewed sources [1]. Exploitation requires that a victim process or open an attacker-supplied ACM file in an FFmpeg build that includes the decoder; the reviewed sources do not establish any remote, network-reachable trigger path [1]. The CISA KEV catalog does not list this CVE as of 2026-11-12, which does not show that it has not been exploited [2]. The FIRST EPSS estimate is 0.0016 (0.17%) with a percentile of 0.0573, a statistical estimate and not evidence of exploitation [3]. The most important immediate action is to inventory FFmpeg deployments that decode untrusted ACM input and to restrict or sandbox that processing with memory limits until a vendor fix is confirmed [1].
Key points
- CVE-2026-125207 is a CWE-789 excessive memory allocation flaw in FFmpeg's Interplay ACM decoder, affecting FFmpeg through 9.0.2 per the CVE record [1].
- The NVD record is Awaiting Analysis and both CVSS scores (4.0 6.8 MEDIUM; 3.1 5.5 MEDIUM) come from a secondary scorer; both reflect availability impact only [1].
- Exploitation requires local access per the vectors and a crafted ACM file reaching the decoder; a practical trigger path is not established [1].
- Not listed in CISA KEV as of 2026-11-12 [2]; EPSS 0.0016 (0.17%) is a statistical estimate, not evidence of exploitation [3].
- No vendor fixed version or advisory is in the reviewed pack; mitigate by restricting untrusted ACM input and bounding worker memory until a fix is verified [1].
Vulnerability identification
| Field | Value | Source |
|---|---|---|
| CVE ID | CVE-2026-125207 | [1] |
| Vendor | FFmpeg (named as the affected project in the CVE record) | [1] |
| Product / component | FFmpeg, Interplay ACM decoder (decodeinit path) | [1] |
| Affected platform | Not established by the reviewed sources beyond FFmpeg builds containing the decoder | [1] |
| Published | 2026-11-09T19:16:57 | [1] |
| Last modified | 2026-11-10T21:46:30 | [1] |
| Record status | Awaiting Analysis | [1] |
| CWE | CWE-789, Memory Allocation with Excessive Size Value | [1] |
| CVSS 4.0 | 6.8 MEDIUM, CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/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, scored by disclosure@vulncheck.com (Secondary) | [1] |
| CVSS 3.1 | 5.5 MEDIUM, CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, scored by disclosure@vulncheck.com (Secondary) | [1] |
| Related advisories and patch references | The record lists a FFmpeg pull request, a commit, a source-file reference at the n9.0.2 tag, and a VulnCheck advisory. The content of these referenced items is not in the reviewed pack, so their relevance to a fix is not established. | [1] |
The record has no NVD tags on its references. No vendor security advisory, GitHub Security Advisory or vendor bulletin is in the reviewed pack. Because the two CVSS scores are both from a secondary scorer and NVD has not completed analysis, the scores should be treated as provisional [1].
Technical background
FFmpeg is an open-source multimedia framework whose libavcodec library provides audio and video decoders and encoders used by many applications and services. The Interplay ACM decoder handles a legacy audio compression format associated with Interplay game assets. A decoder reads a stream header and codec extradata (out-of-band configuration bytes supplied alongside the stream), derives parameters such as channel layout, block size and row count, and then allocates buffers sized from those parameters before decoding frames [1]. Analyst assessment: the decoder initialization function is the point where those parameters are converted into allocation sizes, so the trust boundary sits between the untrusted file contents and the allocator. In a typical deployment, a media-processing service, command-line transcoder or application that links libavcodec exposes that boundary to any file it accepts.
Vulnerability description
The CVE record describes an uncontrolled memory allocation in the Interplay ACM decoder that lets a crafted ACM file cause the decoder to request an allocation of nearly one gigabyte during initialization [1]. The condition the record describes is that the file's extradata sets the maximum level and row count, which the decoder then uses to size its allocation [1]. The security property affected is availability: the record describes memory exhaustion leading to denial of service [1]. The record does not state a confidentiality or integrity effect, and the CVSS vectors in NVD set confidentiality and integrity impact to none [1]. The record does not establish code execution, out-of-bounds memory access or memory disclosure, and the reviewed sources do not support claims of those outcomes.
Root cause analysis
Confirmed: the CWE mapping is CWE-789, which describes allocation sizes derived from a value that is not sufficiently constrained [1]. The record attributes the issue to an attacker-controlled block size reached through the extradata fields [1].
Analyst assessment: the likely design gap is that the decoder accepts the level and row-count values from extradata and uses them to size allocations without an upper bound that reflects the legitimate maximum for the format. The fact that a single crafted header can produce an allocation near one gigabyte suggests that the check, if any, does not reject oversized combinations before allocation. The reviewed sources do not show the exact code change or the specific check that is missing, so the precise root cause in the source file is not established by the reviewed sources.
Why existing controls may fail: decoders often rely on the allocator succeeding or failing, but on systems with overcommit or large swap, a large request may succeed and only fail later under pressure, so an allocation-size check at the decoder level is the control that matters. Operating-system memory limits are a compensating control, not a fix for the decoder logic.
Technical mechanics
The following flow is Illustrative, derived from the CVE record's description and CWE classification [1]:
- An application passes an ACM-encoded input to an FFmpeg process or to a library caller that uses the Interplay ACM decoder.
- The decoder reads the extradata portion of the stream, which carries parameters including maximum level and row count [1].
- The decoder initialization routine (named decodeinit in the record) computes the buffer sizes from those parameters [1].
- Because the parameters are not bounded against a sensible maximum, the computed size approaches one gigabyte [1].
- The process requests that allocation. If the allocation succeeds, the process consumes that memory; if memory is constrained, the process may be terminated or stall, which is the denial-of-service outcome the record describes [1].
- The control that should prevent this is a validation of extradata-derived values against format limits before any allocation, which the reviewed sources do not show is present or absent in any specific version.
Attack surface and exploitation prerequisites
| Prerequisite | Assessment | Source |
|---|---|---|
| Network access | Not established; the CVSS vectors specify local attack vector (AV:L) | [1] |
| Adjacent network | Not applicable per the vector (AV:L) | [1] |
| Local access | Required per the vector; a local or indirect path through file processing is consistent with AV:L | [1] |
| Physical access | Not established by the reviewed sources | [1] |
| Authentication | None required per the vectors (PR:N) | [1] |
| User interaction | CVSS 4.0 specifies passive user interaction (UI:P); CVSS 3.1 specifies required user interaction (UI:R) | [1] |
| Required configuration | The decoder must be present in the FFmpeg build and the file must reach it; whether default builds include it is not established | [1] |
| Attacker position | An ability to supply the ACM file to the processing pipeline; the reviewed sources do not identify a specific service that accepts such files | [1] |
| Environmental conditions | The impact depends on memory limits, overcommit settings and whether the process runs in a container or cgroup with limits | Analyst assessment |
The CVSS vectors describe a local, unauthenticated attacker who needs some user interaction, but the vectors alone do not show a practical trigger path. Exploitability is therefore not confirmed; the reviewed sources do not contain a proof of concept.
Exploitation scenarios and attack lifecycle
Illustrative scenario: a multi-tenant media conversion service accepts user uploads and runs FFmpeg to transcode them. A user uploads a crafted ACM file. The decoder allocates a large buffer, which consumes memory on the worker and may cause the worker to be killed or to degrade other tenants. The defensive opportunities are an upload type check that rejects unexpected codecs, a per-process memory limit, and monitoring for worker restarts.
Illustrative scenario: a desktop user opens a downloaded game asset in an application that uses FFmpeg for media preview. The attempt causes the application to freeze or crash. Interaction is needed to open the file, which matches the user interaction values in the vectors.
The reviewed sources do not document any in-the-wild attack chain, post-exploitation activity or actor. No chain beyond denial of service is confirmed.
Impact analysis
| Area | Technically demonstrated by sources | Plausible downstream consequence (Analyst assessment) |
|---|---|---|
| Confidentiality | None stated; CVSS sets C:N in both vectors [1] | None expected from the described flaw |
| Integrity | None stated; CVSS sets I:N in both vectors [1] | None expected from the described flaw |
| Availability | Memory exhaustion leading to denial of service [1] | Crashed or stalled transcoding jobs, degraded shared hosts, interrupted user workflows |
| Authentication and authorization | Not affected per the vectors (PR:N) [1] | None established |
| Privilege boundaries | Not established by the reviewed sources | None established |
| Data and privacy | Not established by the reviewed sources | None established |
| Business operations | Not established by the reviewed sources | Service interruption where FFmpeg is on a critical path |
| Regulatory or contractual | Not established by the reviewed sources | Depends on service-level commitments in the organization's agreements |
Affected products and versions
| Vendor | Product / component | Affected versions | Platform | Fixed version | Source and qualification |
|---|---|---|---|---|---|
| FFmpeg | libavcodec Interplay ACM decoder | Through 9.0.2, as published by the CVE Numbering Authority in the record | Any build including the decoder; platform-independent in the record | Not established by the reviewed sources | [1]; record status is Awaiting Analysis, so NVD has not confirmed the range |
The lower bound of the affected range is not stated in the record, so earlier versions cannot be assumed to be affected or unaffected from the reviewed sources. Versions after 9.0.2 are not established as fixed or as affected. Downstream distributions that package FFmpeg may apply their own patches or version numbers, which the reviewed sources do not cover.
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the reviewed sources [1, 2].
- CISA KEV: not listed as of 2026-11-12 [2]. The catalog listing is not evidence that exploitation has not occurred.
- Public proof of concept: not established by the reviewed sources. The record's references do not include exploit tags [1].
- Threat actors, campaigns and sectors: not attributed by any reviewed source.
- EPSS: 0.0016 (0.17%) probability of exploitation activity in the next 30 days, with percentile 0.0573, dated 2026-11-10 [3]. The estimate is statistical and is not evidence of exploitation [3].
The absence of public evidence in these sources is not proof that exploitation has not occurred.
Indicators of compromise
Not established by the reviewed sources. No file hashes, file names, domains, IP addresses, process names, command lines or log events are given for this CVE. Analyst assessment: a crafted ACM file would be a file-level artifact, but no reviewed source describes its characteristics, so none should be used as a blocking rule. Any indicator must be validated against a known-good baseline before blocking, because indicators go stale quickly.
Detection and exposure assessment
- Asset inventory: identify every host, container image and application package that contains FFmpeg libavcodec, including statically linked builds bundled into other software. Record the version string for each. The record's affected range is through 9.0.2 [1].
- Version check: on hosts where the ffmpeg command-line tool is installed, run ffmpeg -version and compare the reported version with the affected range. Prerequisite: the binary must be on the PATH or called by full path. Expected output: a version banner. Limitation: a version match shows the range applies, not that the decoder is reachable or exploitable; a bundled library may not report through this command.
- Decoder presence: determine whether the build includes the Interplay ACM decoder, for example by inspecting the build configuration used to produce the binary or package. Not established by the reviewed sources how to query this from the binary alone.
- Exposure of the input path: identify services or workflows that pass user-supplied or externally sourced media to FFmpeg. These are the priority systems.
- Logs and telemetry: review worker restarts, out-of-memory kills in kernel or container logs, and job failures for the affected pipelines. Limitation: memory exhaustion has many causes, so these events are supporting evidence only.
- Authenticated vulnerability scanning: check whether the scanner in use recognizes CVE-2026-125207. Coverage is not established by the reviewed sources.
Immediate mitigation
- Restrict the input path. Block or quarantine ACM files from untrusted sources at upload gates or mail and file gateways by type detection. Protects against: the described trigger. Limitation: content-based detection may miss variants; file-type rules depend on accurate identification. Side effects: legitimate ACM assets are blocked. Verify: test uploads of a benign sample in a non-production environment and confirm the rule fires. Basis: follows from the described trigger [1]; no vendor guidance is in the pack.
- Constrain the process. Run FFmpeg workers under a memory limit (for example a cgroup memory limit or an address-space limit set by the service manager) so that a runaway allocation fails within the worker. Protects against: host-wide memory exhaustion. Limitation: the worker still fails the job. Side effects: large legitimate transcodes may fail. Verify: confirm the limit value in the unit file or container specification and check it in the running process's cgroup. Basis: follows from the documented memory behaviour described in the record [1].
- Isolate processing. Move untrusted media decoding into a dedicated, unprivileged sandbox or container without access to sensitive data. Protects against: impact spreading to other services. Limitation: does not prevent the crash. Verify: confirm the worker's network and file access in its runtime configuration. Basis: analyst recommendation.
- Increase monitoring of worker restarts and out-of-memory events for affected pipelines, with an alert threshold set by the operations team.
Permanent remediation
The reviewed sources do not contain a vendor fix, a fixed version, a patch identifier or an upgrade procedure for this CVE. The pull request and commit referenced in the record may relate to a fix, but their content is not in the pack, so this cannot be confirmed [1]. Vendor-confirmed remediation is therefore not established.
Recommended once a fix is published by FFmpeg or the distribution in use: upgrade to a release that the vendor states contains the fix, confirm the version after upgrade, and rebuild any statically linked packages or container images that bundle libavcodec. Rebuilding is an analyst recommendation. Back up the current binaries or images before replacing them, schedule the change in a maintenance window, and keep the previous artifact available for rollback. Confirm whether a service restart is needed after the library changes. Restart requirements are not established by the reviewed sources.
Workarounds and compensating controls
The controls in the immediate mitigation section are compensating controls. They reduce exposure but do not correct the allocation logic. Input restriction is effective only where the organization controls the input path. Memory limits contain the effect but do not stop a worker from being disrupted. Sandboxing reduces blast radius but does not remove the flaw. None of these is equivalent to a fixed decoder, and they should remain until the fix is verified on every affected build.
Validation and verification
- Confirm the installed FFmpeg version or package build on every system in the inventory, and record the owner and date.
- Confirm that bundled or statically linked copies have been rebuilt or replaced, not only the system package.
- Confirm the decoder status in the new build using the same method used in the detection step.
- Re-run the authenticated vulnerability scanner and record whether the CVE still appears. A clean scan is one check, not proof of security.
- Review worker restarts and out-of-memory events for at least one full processing cycle after the change.
- Confirm the memory limits and input-type rules remain active where they are still required as compensating controls.
- Record evidence, exceptions and the person who accepted any residual risk.
Incident response
If repeated crashes or memory exhaustion occur on a pipeline that processes untrusted ACM input, treat the event as a possible availability incident. Triage: identify the job, source file and worker that failed, and preserve the file and logs without modifying them. Scope: determine which other workers or tenants were affected. Containment: quarantine the source file and restart the worker only after preserving its state, following the organization's plan. Evidence: retain kernel, container and application logs. Eradication and recovery: apply the permanent fix when available and confirm that the same input no longer triggers the condition in an isolated environment. Notification: follow applicable obligations, which the reviewed sources do not address. No destructive actions that erase evidence should be taken.
Security hardening and prevention
- Secure development (defence-in-depth, broader than this flaw): require upper bounds on every size derived from file headers before allocation, and add regression tests with crafted headers at the boundaries. Verify through code review and the test suite of the affected fork.
- Input validation: validate extradata-derived values against format limits before any allocation in every decoder, not only this one.
- Least privilege and isolation (defence-in-depth): run media decoders in unprivileged, resource-limited sandboxes.
- Patch management: track FFmpeg and distribution advisories for this CVE and apply updates within the organization's standard window.
- Logging and alerting: alert on out-of-memory kills and abnormal worker restarts.
Risk assessment
Technical severity: the secondary CVSS scores are 6.8 MEDIUM (4.0) and 5.5 MEDIUM (3.1), both reflecting availability impact only [1].
Exposure: high only where FFmpeg decodes untrusted ACM input on shared or critical hosts. Asset criticality is organization-specific and not assessed by the sources.
Exploit prerequisites: the vectors indicate local access and no authentication, with some user interaction. A practical trigger path is not established by the sources.
Evidence of exploitation: none confirmed; not in KEV as of 2026-11-12 [2]; EPSS 0.0016 [3].
Business impact: availability loss in affected pipelines. Confidentiality and integrity impact are not described.
Existing controls and residual risk: unknown without the organization's inventory. Residual risk remains until a verified fix is deployed.
Recommended priority (Analyst assessment, with the assumption that the organization runs FFmpeg on untrusted input): medium priority, raised to high for internet-facing upload pipelines, because the record is still awaiting analysis and the affected range is incomplete. This is an organization-specific judgment and is not the CVSS score.
Conclusion
CVE-2026-125207 is a CWE-789 flaw in the FFmpeg Interplay ACM decoder that lets a crafted file drive a near-gigabyte allocation and cause denial of service [1]. Teams that run FFmpeg on untrusted ACM input should act first, by inventorying affected builds, restricting the input path and bounding worker memory [1]. The permanent fix requires a vendor-confirmed fixed version, which the reviewed sources do not establish. Closure needs confirmed fixed versions for every build in use, scanner and version verification on each host, and evidence that compensating controls remain where needed.
Remediation checklist
- Inventory every host, container image and package that includes FFmpeg libavcodec, record the version string, and flag any build at or below 9.0.2 per the record's affected range [1].
- Identify workflows that pass untrusted ACM files to FFmpeg and rank them, starting with internet-facing upload pipelines [1].
- Restrict ACM uploads from untrusted sources at gateways or upload handlers, and test the rule with a benign sample in a non-production environment [1].
- Run FFmpeg workers under an enforced memory limit (cgroup or service-manager limit), confirm the value in the running process's cgroup, and monitor for out-of-memory kills [1].
- Move untrusted media decoding into an unprivileged, resource-limited sandbox with no access to sensitive data (analyst recommendation) [1].
- Check the vendor and distribution channels for a fixed FFmpeg release; the reviewed sources do not establish one, so record this as an open item [1].
- When a fix is confirmed, upgrade the system package and rebuild bundled or statically linked copies, backing up the previous artifact for rollback [1].
- Verify the upgraded build with ffmpeg -version and the scanner used in the inventory step, and record owner, date and exceptions [1].
- Keep the compensating controls in place until the fixed version is confirmed on every affected build [1].
Evidence gaps
- The vendor's fixed version and official advisory identifier are not in the pack; the pull request and commit referenced in the record may relate to a fix but their content was not reviewed. Settle with the FFmpeg project's advisory or the referenced commit content.
- The lower bound of the affected range is not stated; versions below 9.0.2 cannot be classified from the pack. Settle with the NVD analysis or vendor version history once published.
- NVD analysis is incomplete (Awaiting Analysis), and both CVSS scores are from a secondary scorer; NVD's own scoring is not available. Settle when NVD completes analysis.
- The exact root cause in the decoder source, including which check is missing, is not disclosed by the reviewed sources. Settle with the vendor's fix diff or a technical analysis.
- No proof of concept, in-the-wild exploitation evidence, threat actor attribution or indicators of compromise are in the pack. Settle with threat intelligence reporting and vendor or researcher publications.
- Whether default FFmpeg builds and common distribution packages include the Interplay ACM decoder is not established. Settle by checking the build configuration of the packages in use.
- The practical reachability of the trigger in real services is not established; the CVSS vectors alone do not show it. Settle with a documented trigger path from a researcher or vendor analysis.
References
- CVE-2026-125207 record. NIST National Vulnerability Database (NVD), 2026-11-10. https://nvd.nist.gov/vuln/detail/CVE-2026-125207. 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-125207. FIRST, 2026-11-10. https://api.first.org/data/v1/epss?cve=CVE-2026-125207. Accessed 2026-11-12.
Summary
FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in the Interplay ACM decoder that allows attackers to exhaust memory via an attacker-controlled block size. Attackers can supply a crafted ACM file with maximum level and row count in extradata, making decode_init() allocate nearly a gigabyte and deny service.
Severity breakdown
Medium · 6.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
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-789: Memory Allocation with Excessive Size Value
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-125207?
CVE-2026-125207 is a CWE-789 flaw in FFmpeg's Interplay ACM decoder, where a crafted file can drive an excessive memory allocation during decoder initialization, causing denial of service. Weakness type: Memory Allocation with Excessive Size Value (CWE-789).
How severe is CVE-2026-125207?
CVE-2026-125207 has a CVSS 4.0 base score of 6.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-125207 being exploited?
Not as far as is known: CVE-2026-125207 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-125207?
FFmpeg ≤ 9.0.2.
How do I fix CVE-2026-125207?
Inventory every host, container image and package that includes FFmpeg libavcodec, record the version string, and flag any build at or below 9.0.2 per the record's affected range. Identify workflows that pass untrusted ACM files to FFmpeg and rank them, starting with internet-facing upload pipelines. Restrict ACM uploads from untrusted sources at gateways or upload handlers, and test the rule with a benign sample in a non-production environment.