FFmpeg versions 2.7 through 8.1.2 contain an out-of-bounds write vulnerability in the TDSC video decoder that allows remote attackers to cause heap corruption by supplying a crafted AVI file that changes frame dimensions across TDSF frames. The tdscparsetdsf() function fails to unreference the existing reference frame before calling avframegetbuffer(), causing tdscblit() and tdsc_yuv2rgb() to write attacker-controlled pixel data beyond the end of the undersized reference frame buffer, resulting in a process crash and potential code execution.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "2.7"
},
{
"last_affected": "8.1.2"
}
],
"source": "AFFECTED_FIELD"
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"introduced": "2.7"
},
{
"last_affected": "8.1.2"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "2.7"
},
{
"fixed": "8.1.2"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65703.json"
}