CVE-2005-4048
CVE-2005-4048 is a high-severity vulnerability in Ffmpeg with a CVSS 2.0 base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Ffmpeg
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2005-4048?
- 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.
- How severe is CVE-2005-4048?
- CVE-2005-4048 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2005-4048 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2005-4048?
- CVE-2005-4048 primarily affects Ffmpeg. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2005-4048?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2005-4048 published?
- CVE-2005-4048 was published on 2005-12-07 and last updated on 2026-06-16.
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/
Affected products (5)
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.6:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.7:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.8:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:0.4.9:*:*:*:*:*:*:*
- cpe:2.3:a:ffmpeg:ffmpeg:cvs:*:*:*:*:*:*:*
More vulnerabilities in Ffmpeg
- CVE-2013-0864 — Critical (CVSS 10.0): The gif_copy_img_rect function in libavcodec/gifdec.c in FFmpeg before 1.1.2 performs an incorrect calculation for an…
- CVE-2013-4265 — Critical (CVSS 10.0): The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors…
- CVE-2013-0873 — Critical (CVSS 10.0): The read_header function in libavcodec/shorten.c in FFmpeg before 1.1.3 allows remote attackers to have an unspecified…
- CVE-2013-0872 — Critical (CVSS 10.0): The swr_init function in libswresample/swresample.c in FFmpeg before 1.1.3 allows remote attackers to have an…
- CVE-2011-3937 — Critical (CVSS 10.0): The 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…
- CVE-2012-2804 — Critical (CVSS 10.0): Unspecified vulnerability in libavcodec/indeo3.c in FFmpeg before 0.11 and Libav 0.8.x before 0.8.5 has unknown impact…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.