Input validation error in FFmpeg - CVE-2009-4640

 

Input validation error in FFmpeg - CVE-2009-4640

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


Vulnerability identifier: #VU110609
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-4640
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

Array index error in vorbis_dec.c in FFmpeg 0.5 allows remote attackers to cause a denial of service and possibly execute arbitrary code via a crafted Vorbis file that triggers an out-of-bounds read.


Affected software

FFmpeg
Ubuntu
libavcodec1d (Ubuntu package)
libavformat1d (Ubuntu package)
libavformat52 (Ubuntu package)
libavcodec51 (Ubuntu package)
libavcodec52 (Ubuntu package)

How to mitigate CVE-2009-4640

Install update from vendor's website.

libavcodec1d (Ubuntu package) - update to 3:0.cvs20070307-5ubuntu7.4
libavformat1d (Ubuntu package) - update to 3:0.cvs20070307-5ubuntu7.4
libavformat52 (Ubuntu package) - addressed in versions 3:0.svn20080206-12ubuntu3.2, 3:0.svn20090303-1ubuntu6.1, 4:0.5+svn20090706-2ubuntu2.1
libavcodec51 (Ubuntu package) - update to 3:0.svn20080206-12ubuntu3.2
libavcodec52 (Ubuntu package) - addressed in versions 3:0.svn20090303-1ubuntu6.1, 4:0.5+svn20090706-2ubuntu2.1

External References

Related Security Bulletins