FFmpeg versions 3.4 through 8.1.2 contain an out-of-bounds write vulnerability in the vffloodfill video filter that allows attackers to corrupt heap memory by supplying a dynamically sized video stream with filtergraph reinitialization disabled via -reinitfilter 0. When configinput() allocates the points traversal stack based on initial frame dimensions and a subsequent larger frame is processed, filterframe() performs flood-fill neighbor pushes beyond the original allocation boundary, resulting in heap corruption and process crash with potential for code execution depending on heap layout and process hardening.
{
"cwe_ids": [
"CWE-131",
"CWE-787"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65705.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "3.4"
},
{
"last_affected": "8.1.2"
}
]
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"introduced": "3.4"
},
{
"last_affected": "8.1.2"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "3.4"
},
{
"fixed": "8.1.2"
}
]
}
]
}