CVE-2005-4048 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via malicious PNG images due to a heap-based buffer overflow in FFmpeg libavcodec.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-4048?

CVE-2005-4048 is a high-severity memory corruption vulnerability in Ffmpeg Ffmpeg, published on 7 Dec 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-119

Which versions are affected by CVE-2005-4048?

It affects 1 product.

Products include Ffmpeg Ffmpeg.

How do I fix CVE-2005-4048?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2005-4048 being exploited?

There is no known exploitation of CVE-2005-4048 in the wild and no public exploit code.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2005-4048, DSA-1004-1, DSA-1005-1, DSA-992-1, GHSA-f7pg-m34f-mphj.

Is CVE-2005-4048 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free