Division by zero in FFmpeg - CVE-2009-4639

 

Division by zero in FFmpeg - CVE-2009-4639

Published: October 26, 2011 / Updated: June 8, 2025


Vulnerability identifier: #VU110610
CSH Severity: Medium
CVSS v4.0:
CVE-ID: CVE-2009-4639
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ffmpeg.sourceforge.net
Affected software:
FFmpeg

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to divide-by-zero error within The av_rescale_rnd function in the AVI demuxer in FFmpeg 0.5. A remote attacker can perform a denial of service (crash) via a crafted AVI file that triggers a divide-by-zero error.


How to mitigate CVE-2009-4639

Install update from vendor's website.

Sources