← Vulnerability feed

Vulnerability record · CVE-2005-4048 · published 7 December 2005

CVE-2005-4048: Ffmpeg memory buffer overflow vulnerability

Ffmpeg · Ffmpeg

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, allows remote attackers to execute arbitrary commands via small PNG images with palettes.

7.5 CVSS 2.0 High EPSS 5.2% · top 7.8% CWE-119 · Memory buffer overflow
7.5CVSS 2.0 base score
5.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
60References
16 Jun 2026Last modified by NVD

Description

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, allows remote attackers to execute arbitrary commands via small PNG images with palettes.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
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 PatchVendor Advisory
http://secunia.com/advisories/18066 Vendor Advisory
http://secunia.com/advisories/18087 Vendor Advisory
http://secunia.com/advisories/18107 Vendor Advisory
http://secunia.com/advisories/18400 Vendor Advisory
http://secunia.com/advisories/18739 Vendor Advisory
http://secunia.com/advisories/18746 Vendor Advisory
http://secunia.com/advisories/19114 Vendor Advisory
http://secunia.com/advisories/19192 Vendor Advisory
http://secunia.com/advisories/19272 Vendor Advisory
http://secunia.com/advisories/19279 Vendor Advisory
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 Patch
http://www.us.debian.org/security/2006/dsa-992
http://www.vupen.com/english/advisories/2005/2770 Vendor Advisory
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&cvsroo
https://usn.ubuntu.com/230-1/
https://usn.ubuntu.com/230-2/
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 PatchVendor Advisory
http://secunia.com/advisories/18066 Vendor Advisory
http://secunia.com/advisories/18087 Vendor Advisory
http://secunia.com/advisories/18107 Vendor Advisory
http://secunia.com/advisories/18400 Vendor Advisory
http://secunia.com/advisories/18739 Vendor Advisory
http://secunia.com/advisories/18746 Vendor Advisory
http://secunia.com/advisories/19114 Vendor Advisory

Track CVE-2005-4048 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2013-0864Ffmpeg vulnerabilityThe gif_copy_img_rect function in libavcodec/gifdec.c in FFmpeg before 1.1.2 performs an incorrect calculation for an "end pointer," which allows rem…EPSS 2.8%10.0CVE-2013-0872Ffmpeg memory buffer overflow vulnerabilityThe swr_init function in libswresample/swresample.c in FFmpeg before 1.1.3 allows remote attackers to have an unspecified impact via an invalid or un…EPSS 2.8%10.0CVE-2013-0873Ffmpeg improper input validation vulnerabilityThe read_header function in libavcodec/shorten.c in FFmpeg before 1.1.3 allows remote attackers to have an unspecified impact via an invalid channel …EPSS 2.8%10.0CVE-2013-4265Ffmpeg vulnerabilityThe av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors related to a "wrong return code…EPSS 2.5%10.0CVE-2011-3937Ffmpeg vulnerabilityThe H.263 codec (libavcodec/h263dec.c) in FFmpeg 0.7.x before 0.7.12, 0.8.x before 0.8.11, and unspecified versions before 0.10, and in Libav 0.5.x b…EPSS 2.3%10.0CVE-2012-2797Ffmpeg vulnerabilityUnspecified vulnerability in the decode_frame_mp3on4 function in libavcodec/mpegaudiodec.c in FFmpeg before 0.11 and Libav 0.8.x before 0.8.5 has unk…EPSS 2.6%10.0CVE-2012-2798Libav vulnerabilityUnspecified vulnerability in the decode_dds1 function in libavcodec/dfa.c in FFmpeg before 0.11, and Libav 0.7.x before 0.7.7 and 0.8.x before 0.8.4,…EPSS 2.9%10.0CVE-2012-2799Ffmpeg vulnerabilityUnspecified vulnerability in libavcodec/wmalosslessdec.c in FFmpeg before 0.11 has unknown impact and attack vectors, related to the "put bit buffer …EPSS 2.5%

Source: NIST National Vulnerability Database (record CVE-2005-4048), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.