Description
Heap-based buffer overflow in the read_xwd_cols function in file-xwd.c in the X Window Dump (XWD) plug-in in GIMP 2.6.9 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an X Window System (XWD) image dump with more colors than color map entries.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gimp | 2.8.10-0.1 | — |
| Debian 13 | gimp | 2.8.10-0.1 | — |
| Debian 12 | gimp | 2.8.10-0.1 | — |
| Debian 7 | gimp | 2.8.2-2+deb7u1 | DSA-2813-1 |
| Debian 6.0 | gimp | 2.6.10-1+squeeze4 | DSA-2813-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | gimp +4 | 2:2.6.9-6.el6_5 | RHSA-2013:1778 |
| RHEL 5 | gimp +2 | 2:2.2.13-3.el5_10 | RHSA-2013:1778 |
Advisories 2
- RHSA-2013:1778 Red Hat Security Advisory: gimp security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2813-1 gimp - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 64098 vdb-entry
- RHSA-2013:1778 vendor-advisory
- GLSA-201603-01 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=953902
- DSA-2813 vendor-advisory
- USN-2051-1 vendor-advisory