FFmpeg versions 4.4 through 8.1.2 contain an out-of-bounds memory access vulnerability in the ADX audio decoder within libavcodec/adxdec.c that allows attackers to trigger both out-of-bounds reads and writes by supplying a crafted ADX or AAX audio file with a mid-stream channel layout change. When AVPKTDATANEWEXTRADATA side data is received mid-stream, the adxdecodeframe function re-parses the stream header but fails to update the internal channel state, causing subsequent decoding operations to access the prev[] state array using a stale channel count.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "4.4"
},
{
"last_affected": "8.1.2"
},
{
"introduced": "1836ef96846937a6cc2443698a693104f5c0b21e"
},
{
"last_affected": "1836ef96846937a6cc2443698a693104f5c0b21e"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "4.4"
},
{
"last_affected": "8.1.2"
}
],
"source": "CPE_FIELD"
},
{
"extracted_events": [
{
"introduced": "4.4"
},
{
"fixed": "8.1.2"
}
],
"source": "DESCRIPTION"
}
],
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64835.json"
}