Bug 879302 (CVE-2012-5576)

Summary: CVE-2012-5576 gimp (XWD plug-in): Stack-based buffer overflow when loading XWD file
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: nphilipp
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 19:50:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 879306, 910362, 910364, 910366, 910367    
Bug Blocks: 879318    
Attachments:
Description Flags
Local copy of the reproducer image none

Description Jan Lieskovsky 2012-11-22 14:58:18 UTC
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.

References:
[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

Reproducer:
[4] https://bugzilla.gnome.org/show_bug.cgi?id=687392#c1

Comment 1 Jan Lieskovsky 2012-11-22 15:03:10 UTC
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 15:04:32 UTC
Created gimp tracking bugs for this issue

Affects: fedora-all [bug 879306]

Comment 3 Jan Lieskovsky 2012-11-22 15:28:44 UTC
Created attachment 649873 [details]
Local copy of the reproducer image

Comment 4 Huzaifa S. Sidhpurwala 2012-11-27 05:57:13 UTC
This issue has been assigned CVE-2012-5576 via:
http://www.openwall.com/lists/oss-security/2012/11/27/1

Comment 7 Fedora Update System 2013-02-21 05:37:22 UTC
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 16:51:52 UTC
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