CVE-2005-4048

NameCVE-2005-4048
DescriptionHeap-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1004-1, DSA-1005-1, DSA-992-1
Debian Bugs342207, 342208, 343503

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)buster7:4.1.9-0+deb10u1fixed
buster (security)7:4.1.10-0+deb10u1fixed
bullseye7:4.3.4-0+deb11u1fixed
bullseye (security)7:4.3.5-0+deb11u1fixed
bookworm, sid7:5.1.2-1fixed
mplayer (PTS)buster2:1.3.0-8fixed
bullseye2:1.4+ds1-1fixed
sid2:1.4+ds1-3fixed
vlc (PTS)buster3.0.17.4-0+deb10u1fixed
buster (security)3.0.17.4-0+deb10u2fixed
bullseye (security), bullseye3.0.17.4-0+deb11u1fixed
bookworm3.0.18-1fixed
sid3.0.18-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsourcesarge0.cvs20050313-2sarge1DSA-992-1
ffmpegsource(unstable)0.cvs20050918-5.1medium342207
gst-ffmpegsource(unstable)0.8.7-5medium343503
mplayersource(unstable)(not affected)
vlcsourcewoody(not affected)DSA-1004-1
vlcsourcesarge0.8.1.svn20050314-1sarge1DSA-1004-1
vlcsource(unstable)0.8.4.debian-2medium
xine-libsourcewoody(not affected)DSA-1005-1
xine-libsourcesarge1.0.1-1sarge2DSA-1005-1
xine-libsource(unstable)1.0.1-1.5medium342208
xmoviesource(unstable)(unfixed)

Notes

- mplayer <not-affected> (Fixed before initial upload)
kino, smilutils, motion and vlc link statically against libavcodec, need a recompile once ffmpeg is fixed
smilutils, motion, kino link statically against libavcodec, but don't use the vulnerable function

Search for package or bug name: Reporting problems