All reports
Medium

FFmpeg: FFmpeg: Arbitrary code execution via crafted AVI file in TDSC video decoder

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-65703

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-21

Description

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 tdsc_parse_tdsf() function fails to unreference the existing reference frame before calling av_frame_get_buffer(), causing tdsc_blit() 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.

A flaw was found in FFmpeg, a widely used multimedia framework. This vulnerability, an out-of-bounds write in the TDSC video decoder, allows a remote attacker to corrupt memory by supplying a specially crafted AVI (Audio Video Interleave) file. Successful exploitation can lead to a system crash and potentially enable the attacker to execute arbitrary code.