CVE Catalog

CVE-2004-0783

High
Published: Translated: NVD NIST

Summary

A stack-based buffer overflow in the xpm_extract_color function (io-xpm.c) of the XPM image decoder in gtk+ 2.4.4 and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a crafted color string.

Risk Assessment

An attacker can remotely execute arbitrary code on the victim's system, potentially leading to full control over the application using gtk+ or gdk-pixbuf, and consequently compromising data confidentiality, integrity, and availability.

Recommendation

Immediately update gtk+ to a version later than 2.4.4 and gdk-pixbuf to version 0.22 or later. If updating is not possible, restrict processing of XPM images from untrusted sources.

Related vulnerabilities

Original NVD description (English source)

Stack-based buffer overflow in xpm_extract_color (io-xpm.c) in the XPM image decoder for gtk+ 2.4.4 (gtk2) and earlier, and gdk-pixbuf before 0.22, may allow remote attackers to execute arbitrary code via a certain color string. NOTE: this identifier is ONLY for gtk+. It was incorrectly referenced in an advisory for a different issue (CVE-2004-0688).

Vulnerability data from NVD (NIST) · CISA KEV · EPSS