FFmpeg through 8.1.2, fixed in commit aafb5c6, contains a signed integer overflow vulnerability in the MACE6 audio decoder that allows attackers to corrupt heap memory by supplying a crafted CAF file with a malicious bytes_per_packet value. Attackers can craft a CAF file with oversized bytes_per_packet and frames_per_packet values in the desc chunk to trigger an integer overflow in mace_decode_frame() during output sample count computation, resulting in an undersized buffer allocation and heap out-of-bounds write that could enable code execution.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66039",
"id": "CVE-2026-66039",
"imported": "2026-08-08T05:24:16.247Z",
"modified": "2026-08-07T00:46:17.303Z",
"published": "2026-07-24T20:18:20.880Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66039"
},
{
"html_url": "https://github.com/advisories/GHSA-84qc-6h9r-4w33",
"id": "GHSA-84qc-6h9r-4w33",
"imported": "2026-08-08T05:24:21.632Z",
"modified": "2026-07-24T21:32:28Z",
"published": "2026-07-24T21:32:22Z",
"url": "https://api.github.com/advisories/GHSA-84qc-6h9r-4w33"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48741",
"id": "EUVD-2026-48741",
"imported": "2026-08-08T05:24:18.265Z",
"modified": "2026-07-29T03:55:37Z",
"published": "2026-07-24T19:42:42Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48741"
}
]
}