FFmpeg through 8.1.2, fixed in commit 5d7112c, contains an uncontrolled resource consumption vulnerability in the IAMF demuxer that allows an unauthenticated attacker to cause multi-gigabyte memory allocation from a 17-byte input file by supplying a crafted countlabel field. The mixpresentationobu() function in libavformat/iamfparse.c calls avcalloc(countlabel, sizeof(*language_label)) with an attacker-controlled value before validating available OBU data, enabling an allocation amplification of approximately 126 million bytes per input byte that exhausts process memory or triggers an OOM-kill during format probing.
{
"cwe_ids": [
"CWE-770"
],
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "8.1.2"
}
],
"source": "AFFECTED_FIELD"
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "8.1.2"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "8.1.2"
}
]
}
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66037.json"
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "8.1.2"
}
]
}