Bug 537370 (CVE-2009-3909)

Summary: CVE-2009-3909 Gimp: Integer overflow in the PSD image file plugin
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, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,source=vendorsec,reported=20091112,public=20091117,cvss2=6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P,rhel-4/gimp=wontfix,rhel-5/gimp=affected,rhel-6/gimp=notaffected,fedora-all/gimp=notaffected,cwe=CWE-190[auto]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-01 08:29:34 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 518003, 537807, 537808, 714126, 714127, 714128    
Bug Blocks: 714114    
Description Flags
gimp-2.2.13-psd-hardening.patch none

Description Jan Lieskovsky 2009-11-13 06:07:32 EST
Stefan Cornelius of Secunia Research reported an integer overflow,
leading to heap-based buffer overflow, present in Gimp's Adobe's
Photoshop (PSD) image file plugin. A remote attacker could
provide a specially-crafted PSD image file, which once opened
by a local, unsuspecting user would lead to denial of service
(GIMP PSD plugin crash). 

Upstream patch:

The another PSD related commit might be needed too though:


Red Hat would like to thank Stefan Cornelius of Secunia Research for reporting this flaw.
Comment 1 Jan Lieskovsky 2009-11-13 06:11:39 EST
This issue affects the versions of the gimp package, as shipped
with Red Hat Enterprise Linux 4, and 5.

This issue did NOT affect the version of the gimp package, as
shipped with Red Hat Enterprise Linux 6.

This issue did NOT affect the versions of the gimp package, as shipped
with Fedora release of 13 and 14.
Comment 5 Fedora Update System 2009-11-17 08:23:10 EST
gimp-2.6.7-3.fc11 has been submitted as an update for Fedora 11.
Comment 6 Fedora Update System 2009-11-17 08:23:20 EST
gimp-2.6.7-3.fc12 has been submitted as an update for Fedora 12.
Comment 7 Jan Lieskovsky 2009-11-17 11:14:54 EST
The Gimp package update is scheduled for Fedora 10 release too, but is
currently blocked by the following bug 518003.

  Once this blocker is solved, The Gimp in Fedora 10 will be updated.

See also: 
Comment 11 Nils Philippsen 2009-11-30 11:59:36 EST
Created attachment 374811 [details]

This is the patch I plan to apply to RHEL-5.
Comment 13 Jan Lieskovsky 2011-05-06 08:53:13 EDT

Vulnerable. This issue affects gimp packages in Red Hat Enterprise Linux 4 and 5. This issue does not affect gimp package in Red Hat Enterprise Linux 6.
Comment 16 Nils Philippsen 2011-06-29 04:20:42 EDT
Comment on attachment 374811 [details]

This doesn't fix the problem completely.
Comment 19 errata-xmlrpc 2012-08-20 09:44:56 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1181 https://rhn.redhat.com/errata/RHSA-2012-1181.html