CVE-2004-0782: Gnome Gdkpixbuf

High severity, CVSS 7.5. EPSS: 9.2% chance of exploitation in the next 30 days.

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

Affected products

  • Gnome Gdkpixbuf: version 0.17 only; version 0.18 only; version 0.20 only; version 0.22 only
  • Gnome Gtk: version 2.0.2 only; version 2.0.6 only; version 2.2.1 only; version 2.2.3 only; version 2.2.4 only

Published 2004-10-20. Last modified 2026-06-16.