Vulnerability in Ffmpeg
CVE-2026-125104
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.
Published .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703 (issue-tracking)
- github.com/FFmpeg/FFmpeg (product)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/apedec.c (technical-description)
- Patch Commit (patch)
- VulnCheck Advisory: FFmpeg through 9.0.2 Memory Exhaustion DoS via APE Decoder apedec.c (third-party-advisory)
Frequently asked questions
- What is CVE-2026-125104?
- CVE-2026-125104 is a medium-severity vulnerability in Ffmpeg, classified under CWE-789. CVSS score: 5.5/10. Published 2026-11-09.
- How severe is CVE-2026-125104?
- Medium severity. CVSS v3 base score is 5.5 out of 10.