CVE-2013-1978: Buffer Overflow

Published Apr 19, 2013
·
Updated

Heap-based buffer overflow in the readxwdcols 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.

Other sources

Murray McAllister of the Red Hat Security Response Team has discovered a heap-based buffer overflow in the way GIMP, the GNU Image Manipulation Program, performed loading of certain X Window System (XWD) image dumps containing a small number of color map entries but a large number of colors. A remote attacker could provide a specially-crafted XWD format image file that, when processed, would lead to gimp XWD plug-in crash or, potentially, arbitrary code execution with the privileges of the user running the gimp executable.

Red Hat

Affected Software

4 affected components
GIMP GIMP<=2.6.9
Gnome GLib<=2.24.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0

Event History

Apr 19, 2013
Data Sourced
01:27 PM
DescriptionSeverityAffected Software
Dec 12, 2013
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-1978?

CVE-2013-1978 is rated as a high severity vulnerability due to the potential for arbitrary code execution and denial of service.

2

How do I fix CVE-2013-1978?

To fix CVE-2013-1978, update GIMP to version 2.8.0 or later.

3

What are the consequences of exploiting CVE-2013-1978?

Exploitation of CVE-2013-1978 can lead to a denial of service and the execution of arbitrary code.

4

Which versions of GIMP are affected by CVE-2013-1978?

GIMP versions prior to 2.6.9 are affected by CVE-2013-1978.

5

Are there any workarounds for CVE-2013-1978?

Currently, the best workaround for CVE-2013-1978 is to disable the XWD plugin in GIMP until an update is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203