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
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).
- Published
- Oct 20, 2004
- Updated
- Jun 16, 2026
- EPSS
- 9.2% · 95th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
33
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 9.2%
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnome gdkpixbuf0.17
- gnome gdkpixbuf0.18
- gnome gdkpixbuf0.20
- gnome gdkpixbuf0.22
- gnome gtk2.0.2
- gnome gtk2.0.6
- gnome gtk2.2.1
- gnome gtk2.2.3
- gnome gtk2.2.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | gdk-pixbuf | before 0.22.0-7 | 0.22.0-7 |
| Debian:12 | gtk+2.0 | before 2.4.9-2 | 2.4.9-2 |
| Debian:3.0 | gdk-pixbuf | before 0.17.0-2woody2 | 0.17.0-2woody2 |
| Debian:3.0 | gtk+2.0 | before 2.0.2-5woody2 | 2.0.2-5woody2 |
| Red Hat:enterprise_linux:3::as | gdk-pixbuf | before 1:0.22.0-11.3.3 | 1:0.22.0-11.3.3 |
| Red Hat:enterprise_linux:3::as | gdk-pixbuf-debuginfo | before 1:0.22.0-11.3.3 | 1:0.22.0-11.3.3 |
| Red Hat:enterprise_linux:3::as | gdk-pixbuf-devel | before 1:0.22.0-11.3.3 | 1:0.22.0-11.3.3 |
| Red Hat:enterprise_linux:3::as | gdk-pixbuf-gnome | before 1:0.22.0-11.3.3 | 1:0.22.0-11.3.3 |
| Red Hat:enterprise_linux:3::as | gtk2 | before 0:2.2.4-8.1 | 0:2.2.4-8.1 |
| Red Hat:enterprise_linux:3::as | gtk2-debuginfo | before 0:2.2.4-8.1 | 0:2.2.4-8.1 |
| Red Hat:enterprise_linux:3::as | gtk2-devel | before 0:2.2.4-8.1 | 0:2.2.4-8.1 |
Same product
gnome: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-44648GNOME gdk-pixbuf 2.42.6 is vulnerable to a heap-buffer overflow vulnerability when decoding the lzw compressed stream of image data in GIF f36Monitor
- CVE-2004-0783Stack-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 befor33Monitor
- CVE-2005-2975io-xpm.c in the gdk-pixbuf XPM image rendering library in GTK+ before 2.8.7 allows attackers to cause a denial of service (infinite loop) vi32Monitor
- CVE-2022-48622In GNOME GdkPixbuf (aka gdk-pixbuf) through 2.42.10, the ANI (Windows animated cursor) decoder encounters heap memory corruption (in ani_loa31Monitor
- CVE-2005-2976Integer overflow in io-xpm.c in gdk-pixbuf 0.22.0 in GTK+ before 2.8.7 allows attackers to cause a denial of service (crash) or execute arbi31Monitor
- CVE-2004-0753The BMP image processor for (1) gdk-pixbuf before 0.22 and (2) gtk2 before 2.2.4 allows remote attackers to cause a denial of service (infin22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:gdk-pixbuf | 0.22.0-7 · Debian:12 | Package registry (OSV) |
| debian:gtk+2.0 | 2.4.9-2 · Debian:12 | Package registry (OSV) |
| red hat:gdk-pixbuf | 1:0.22.0-11.3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gdk-pixbuf-debuginfo | 1:0.22.0-11.3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gdk-pixbuf-devel | 1:0.22.0-11.3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gdk-pixbuf-gnome | 1:0.22.0-11.3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gtk2 | 0:2.2.4-8.1 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gtk2-debuginfo | 0:2.2.4-8.1 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:gtk2-devel | 0:2.2.4-8.1 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000875
- marc.info/?l=bugtraq&m=109528994916275&w=2
- scary.beasts.org/security/CESA-2004-005.txt
- secunia.com/advisories/17657
- sunsolve.sun.com/search/document.do?assetkey=1-26-101776-1
- www.debian.org/security/2004/dsa-546
- www.kb.cert.org/vuls/id/729894
- www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:095
- www.mandriva.com/security/advisories?name=MDKSA-2005:214
- www.redhat.com/support/errata/RHSA-2004-447.html
- www.redhat.com/support/errata/RHSA-2004-466.html
- www.securityfocus.com/archive/1/419771/100/0/threaded
- www.securityfocus.com/bid/11195
- bugzilla.fedora.us/show_bug.cgi?id=2005
- exchange.xforce.ibmcloud.com/vulnerabilities/17386
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11539
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1617
Vendor advisories and official records. Exploit/PoC links are deliberately left out.