SB2005120701 - Heap-based buffer overflow in FFmpeg
Published: December 7, 2005 Updated: June 8, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Heap-based buffer overflow (CVE-ID: CVE-2005-4048)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the avcodec_default_get_buffer function (utils.c) in FFmpeg libavcodec 0.4.9-pre1 and earlier, as used in products such as (1) mplayer, (2) xine-lib, (3) Xmovie, and (4) GStreamer,. A remote attacker can use small PNG images with palettes. to trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Remediation
Install update from vendor's website.
References
- http://article.gmane.org/gmane.comp.video.ffmpeg.devel/26558
- http://cvs.freedesktop.org/gstreamer/gst-ffmpeg/ChangeLog?rev=1.239&view=markup
- http://secunia.com/advisories/17892
- http://secunia.com/advisories/18066
- http://secunia.com/advisories/18087
- http://secunia.com/advisories/18107
- http://secunia.com/advisories/18400
- http://secunia.com/advisories/18739
- http://secunia.com/advisories/18746
- http://secunia.com/advisories/19114
- http://secunia.com/advisories/19192
- http://secunia.com/advisories/19272
- http://secunia.com/advisories/19279
- http://www.debian.org/security/2006/dsa-1004
- http://www.debian.org/security/2006/dsa-1005
- http://www.gentoo.org/security/en/glsa/glsa-200601-06.xml
- http://www.gentoo.org/security/en/glsa/glsa-200602-01.xml
- http://www.gentoo.org/security/en/glsa/glsa-200603-03.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:228
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:229
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:230
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:231
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:232
- http://www.securityfocus.com/bid/15743
- http://www.us.debian.org/security/2006/dsa-992
- http://www.vupen.com/english/advisories/2005/2770
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c?rev=1.162&content-type=text/x-cvsweb-markup&cvsroot=FFMpeg
- https://usn.ubuntu.com/230-1/
- https://usn.ubuntu.com/230-2/