CVE-2026-125104 FFmpeg through 9.0.2 Memory Exhaustion DoS via APE Decoder apedec.c
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125104?
CVE-2026-125104 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.
Official description
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.
Weakness: CWE-789
Which versions are affected by CVE-2026-125104?
How do I fix CVE-2026-125104?
No fix has been published for CVE-2026-125104 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125104 being exploited?
There is no known exploitation of CVE-2026-125104 in the wild and no public exploit code.
Sources
Also known as GHSA-r322-5w3w-7x79, UBUNTU-CVE-2026-125104.