Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-125104 — FFmpeg

Medium · CVSS 6.8EPSS 0.2% First seen November 09, 2026

One of 121 FFmpeg vulnerabilities published together by NVD.

Vulnerabilities

Analysis

CVE-2026-125104: FFmpeg memory exhaustion via crafted legacy Monkey's Audio files (MEDIUM, CVSS 6.8)

CVE-2026-125104 is a MEDIUM-severity (CVSS 6.8) denial-of-service flaw in FFmpeg through 9.0.2, in which a crafted legacy Monkey's Audio file can force very large memory allocations. As of the available source, no fixed version or exploitation status has been published.

Key points

  • FFmpeg through 9.0.2 is affected by a memory exhaustion flaw in the APE (Monkey's Audio) decoder.
  • A crafted legacy APE file can force gigabyte-scale allocations, leading to denial of service.
  • NVD rates the issue MEDIUM, CVSS 6.8.
  • No fixed version or exploitation status is stated in the source.

What's affected

The National Vulnerability Database (NVD) entry for CVE-2026-125104 says FFmpeg through version 9.0.2 is affected. The flaw is in the Monkey's Audio (APE) decoder in libavcodec, specifically the ape_decode_frame() function in apedec.c. The available source does not list a fixed version, a patch, or which downstream packages and distributions ship affected builds.

How serious is it

NVD rates the issue MEDIUM with a CVSS score of 6.8. The decoder does not enforce the 73728-sample limit for legacy APE frames. A crafted legacy Monkey's Audio file can declare an extremely large block count, which causes the process to attempt gigabyte-scale memory allocations. The impact described is denial of service through memory exhaustion. The source does not describe any code execution or data exposure impact.

Is it being exploited?

The source does not say whether this vulnerability is being exploited in the wild. It also does not mention public proof-of-concept code or vendor advisories beyond the NVD description.

What to do

First, identify where FFmpeg is used, including standalone installs, transcoding and media-processing services, and applications that bundle its libraries. Because no fix is listed in the source, monitor the FFmpeg project and your operating system or vendor security channels for a patched release, and apply it as soon as it is available. Until then, limit exposure by avoiding processing of untrusted Monkey's Audio files where possible, running media decoding in isolated workers, and setting memory limits (for example, cgroup or container limits) so that a single job cannot exhaust host memory. Monitor media-processing hosts for unexpected memory spikes or repeated crashes of decoding processes, since these may indicate attempted abuse.

Recommended actions

  1. Inventory systems and applications that use FFmpeg or its libraries, including bundled copies.
  2. Watch the FFmpeg project and your vendor for a fixed release, and patch as soon as one is available.
  3. Until patched, avoid decoding untrusted Monkey's Audio files and run media processing in isolated workers with memory limits.
  4. Monitor media-processing hosts for unexpected memory growth or repeated decoder crashes.

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

Summary

FFmpeg through 9.0.2 contains a memory exhaustion vulnerability in ape_decode_frame() in libavcodec/apedec.c that fails to enforce the 73728-sample limit for legacy APE frames. Attackers can supply a crafted legacy Monkey's Audio file declaring an enormous nblocks value to force gigabyte-scale allocations and cause denial of service.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 4.0 base score from the CNA (vulncheck.com)

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

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 · CVSS 3.1 5.5 from the CNA (vulncheck.com): CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Affected and fixed versions

ProductAffected versionsFixed in
FFmpeg≤ 9.0.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • FFmpeg

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-125104?

CVE-2026-125104 is a MEDIUM-severity (CVSS 6.8) denial-of-service flaw in FFmpeg through 9.0.2, in which a crafted legacy Monkey's Audio file can force very large memory allocations. As of the available source, no fixed version or exploitation status has been published. Weakness type: Memory Allocation with Excessive Size Value (CWE-789).

How severe is CVE-2026-125104?

CVE-2026-125104 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-125104 being exploited?

Not as far as is known: CVE-2026-125104 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-125104?

FFmpeg ≤ 9.0.2.

How do I fix CVE-2026-125104?

Inventory systems and applications that use FFmpeg or its libraries, including bundled copies. Watch the FFmpeg project and your vendor for a fixed release, and patch as soon as one is available. Until patched, avoid decoding untrusted Monkey's Audio files and run media processing in isolated workers with memory limits.

Timeline & sources

References