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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125104",
"id": "CVE-2026-125104",
"imported": "2026-12-02T20:13:53.375Z",
"modified": "2026-11-25T15:05:17.490Z",
"published": "2026-11-09T19:16:51.627Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125104"
},
{
"html_url": "https://github.com/advisories/GHSA-r322-5w3w-7x79",
"id": "GHSA-r322-5w3w-7x79",
"imported": "2026-12-02T20:16:15.708Z",
"modified": "2026-11-09T21:31:56Z",
"published": "2026-11-09T21:31:51Z",
"url": "https://api.github.com/advisories/GHSA-r322-5w3w-7x79"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120258",
"id": "EUVD-2026-120258",
"imported": "2026-12-02T20:13:54.916Z",
"modified": "2026-11-09T21:06:58Z",
"published": "2026-11-09T19:10:58Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120258"
}
]
}