CVE-2004-0782 Integer overflow in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a heap-based buffer overflow in the GTK+ XPM image decoder triggered by malicious image files.

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-2004-0782?

CVE-2004-0782 is a high-severity vulnerability in n/a, published on 17 Sep 2004. 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

Integer overflow in pixbuf_create_from_xpm (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, allows remote attackers to execute arbitrary code via certain n_col and cpp values that enable a heap-based buffer overflow. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0687).

Which versions are affected by CVE-2004-0782?

It affects 2 products.

Products include Gnome Gdkpixbuf, Gnome Gtk.

How do I fix CVE-2004-0782?

Upgrade to a fixed version.

Is CVE-2004-0782 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-0782, GHSA-g6wq-qgq2-g3hg.

Is CVE-2004-0782 in your software?

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

Check your SBOMs for free