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…
Check your servers for CVE-2005-4048
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2005-4048 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 5.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 93.2% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2005-4048 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2005-4048RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2005-4048Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2005-4048
trivy image --scanners vuln IMAGE | grep CVE-2005-4048
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- DSA-992 us.debian.org · vendor advisory
- GLSA-200602-01 gentoo.org · vendor advisory
- MDKSA-2005:229 mandriva.com · vendor advisory
- MDKSA-2005:232 mandriva.com · vendor advisory
- 19272 secunia.com · third party advisory
- USN-230-1 usn.ubuntu.com · vendor advisory
- DSA-1005 debian.org · vendor advisory
- 19114 secunia.com · third party advisory
- GLSA-200601-06 gentoo.org · vendor advisory
- 18087 secunia.com · third party advisory
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c?rev=1.162&content-type=text/x-cvsweb-markup&cvsroot=FFMpeg www1.mplayerhq.hu
- http://cvs.freedesktop.org/gstreamer/gst-ffmpeg/ChangeLog?rev=1.239&view=markup cvs.freedesktop.org
15 more
- 18400 secunia.com · third party advisory
- MDKSA-2005:230 mandriva.com · vendor advisory
- GLSA-200603-03 gentoo.org · vendor advisory
- 17892 secunia.com · third party advisory
- 18746 secunia.com · third party advisory
- MDKSA-2005:228 mandriva.com · vendor advisory
- 19192 secunia.com · third party advisory
- USN-230-2 usn.ubuntu.com · vendor advisory
- MDKSA-2005:231 mandriva.com · vendor advisory
- DSA-1004 debian.org · vendor advisory
- 18739 secunia.com · third party advisory
- 18107 secunia.com · third party advisory
- 19279 secunia.com · third party advisory
- 18066 secunia.com · third party advisory
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg www1.mplayerhq.hu
Other references
- http://article.gmane.org/gmane.comp.video.ffmpeg.devel/26558 article.gmane.org
- ADV-2005-2770 vupen.com · vdb entry
- 15743 securityfocus.com · vdb entry
Source: the record CVE-2005-4048 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse