{"id":"CVE-2026-125104","published":"2026-11-09T19:10:58Z","modified":"2026-11-09T21:06:58Z","title":"FFmpeg through 9.0.2 Memory Exhaustion DoS via APE Decoder apedec.c","vendor":"FFmpeg","product":"FFmpeg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.05781,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703","tags":["issue-tracking"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/968e9e948ed8c9ba90dbc875e60b843c755cf4ba","tags":["patch"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/apedec.c#L1601","tags":["technical-description"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-exhaustion-dos-via-ape-decoder-apedec-c","tags":["third-party-advisory"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.16},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"ffmpeg","affectedVersions":[{"vendor":"FFmpeg","product":"FFmpeg","versions":["<= 9.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T21:04:20.478105Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120258","exploited":false,"provenance":"source"}}