Bug 879302 - (CVE-2012-5576) CVE-2012-5576 gimp (XWD plug-in): Stack-based buffer overflow when loading XWD file
CVE-2012-5576 gimp (XWD plug-in): Stack-based buffer overflow when loading XW...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 879306 910362 910364 910366 910367
Blocks: 879318
  Show dependency treegraph
Reported: 2012-11-22 09:58 EST by Jan Lieskovsky
Modified: 2016-03-04 07:14 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-12-14 14:50:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Local copy of the reproducer image (593.07 KB, image/x-xwindowdump)
2012-11-22 10:28 EST, Jan Lieskovsky
no flags Details

  None (edit)
Description Jan Lieskovsky 2012-11-22 09:58:18 EST
A stack-based buffer overflow flaw was found in the way GIMP, the GNU Image Manipulation Program, performed loading of certain X Window System (XWD) image dumps. 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.

[1] http://www.openwall.com/lists/oss-security/2012/11/21/2

Upstream bug report:
[2] https://bugzilla.gnome.org/show_bug.cgi?id=687392

Relevant patch:
[3] http://git.gnome.org/browse/gimp/commit/?id=0b35f6a082a0b3c372c568ea6bde39a4796acde2

[4] https://bugzilla.gnome.org/show_bug.cgi?id=687392#c1
Comment 1 Jan Lieskovsky 2012-11-22 10:03:10 EST
This issue affects the versions of the gimp package, as shipped with Red Hat Enterprise Linux 5 and 6.


This issue affects the versions of the gimp package, as shipped with Fedora release of 16 and 17. Please schedule an update.
Comment 2 Jan Lieskovsky 2012-11-22 10:04:32 EST
Created gimp tracking bugs for this issue

Affects: fedora-all [bug 879306]
Comment 3 Jan Lieskovsky 2012-11-22 10:28:44 EST
Created attachment 649873 [details]
Local copy of the reproducer image
Comment 4 Huzaifa S. Sidhpurwala 2012-11-27 00:57:13 EST
This issue has been assigned CVE-2012-5576 via:
Comment 7 Fedora Update System 2013-02-21 00:37:22 EST
gimp-2.8.4-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 errata-xmlrpc 2013-12-03 11:51:52 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2013:1778 https://rhn.redhat.com/errata/RHSA-2013-1778.html

Note You need to log in before you can comment on or make changes to this bug.