Bug 198269

Summary: CVE-2006-3404 gimp xcf buffer overflow
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=debian,reported=20060706,public=20060706,impact=moderate
Fixed In Version: RHSA-2006-0598 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-18 12:29:08 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:
Attachments:
Description Flags
XCF file by the original upstream reporter that should exhibit the problem none

Description Josh Bressers 2006-07-10 19:17:49 UTC
gimp xcf buffer overflow

Henning Makholm discovered a buffer overflow bug in gimp's XCF loader.
It is possible to overflow a static buffer with arbitrary data, which
could likely result in arbitrary code execution.

The upstream bug contains the patch:
http://bugzilla.gnome.org/show_bug.cgi?id=346742


This issue also affects RHEL3
This issue also affects RHEL2.1

Comment 1 Josh Bressers 2006-07-10 19:20:48 UTC
I'm not sure if this issue affects RHEL2.1 or not.  I can't find the source in
question, but I'm also not terribly familiar with the source of the XCF format.

Comment 2 Nils Philippsen 2006-07-12 12:51:14 UTC
gimp-1.2.x (what is in RHEL2.1 and RHEL3) doesn't seem to store or load vector
information in XCF files. I've contacted Henning Makholm (who provided the patch
upstream) about a testcase file.

Comment 3 Nils Philippsen 2006-07-12 12:52:09 UTC
gimp-1.2.x (what is in RHEL2.1 and RHEL3) doesn't seem to store or load vector
information in XCF files, so shouldn't be vulnerable. I've contacted Henning
Makholm (who provided the patch upstream) about a testcase file.

Comment 4 Nils Philippsen 2006-07-12 15:16:48 UTC
I've built gimp-2.0.5-6 for RHEL4 which includes the fix mentioned above.

Comment 9 Red Hat Bugzilla 2006-07-18 12:29:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0598.html