FFmpeg through 9.0.2 Memory Exhaustion DoS via APE Decoder apedec.c
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
≤ 9.0.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-125104 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-125104 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-125104 ffmpeg No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- report code.ffmpeg.org
- web github.com
- web github.com
- web code.ffmpeg.org