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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, 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.11-0+deb10u1fixed
bullseye (security), bullseye7:4.3.6-0+deb11u1fixed
bookworm, bookworm (security)7:5.1.4-0+deb12u1fixed
trixie7:6.1.1-1fixed
sid7:6.1.1-4fixed
mplayer (PTS)buster2:1.3.0-8fixed
buster (security)2:1.3.0-8+deb10u1fixed
bullseye2:1.4+ds1-1+deb11u1fixed
bookworm2:1.5+svn38408-1fixed
trixie2:1.5+svn38446-1fixed
sid2:1.5+svn38446-2fixed
vlc (PTS)buster3.0.17.4-0+deb10u1fixed
buster (security)3.0.20-0+deb10u1fixed
bullseye (security), bullseye3.0.20-0+deb11u1fixed
bookworm, bookworm (security)3.0.20-0+deb12u1fixed
trixie3.0.20-1fixed
sid3.0.20-4fixed

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