Bug 1268249 (CVE-2015-7674)

Summary: CVE-2015-7674 gdk-pixbuf: Heap overflow when scaling a GIF file
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: erik-fedora, fedora, fedora, mclasen, otte, rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gdk-pixbuf 2.32.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-23 12:58:38 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: 1273775, 1273776    
Bug Blocks: 1268250    

Description Adam Mariš 2015-10-02 09:51:55 UTC
Heap overflow flaw was found in the gdk-pixbuf implementation triggered by the scaling of gif file. Affected versions are < 2.32.1.

Upstream patch:

https://git.gnome.org/browse/gdk-pixbuf/commit/?id=e9a5704edaa9aee9498f1fbf6e1b70fcce2e55aa

CVE request:

http://seclists.org/oss-sec/2015/q4/5

Comment 1 Adam Mariš 2015-10-05 12:09:16 UTC
Reproducer and detailed backtrace can be found here:

http://seclists.org/oss-sec/2015/q4/32

Comment 2 Adam Mariš 2015-10-21 08:27:19 UTC
Created gdk-pixbuf2 tracking bugs for this issue:

Affects: fedora-all [bug 1273775]

Comment 3 Adam Mariš 2015-10-21 08:27:26 UTC
Created mingw-gdk-pixbuf tracking bugs for this issue:

Affects: fedora-all [bug 1273776]

Comment 4 Stefan Cornelius 2015-10-22 12:33:59 UTC
Fedora / RHEL7 are affected in the same way - segfault.

RHEL6 is affected, too, but in a different manner: the process gets into an infinite (or at least very long, >60s) loop. The patch linked in comment #0 does not fix this in RHEL6.

Comment 5 Stefan Cornelius 2015-10-23 12:55:03 UTC
The infinite loop in RHEL6 is annoying but shouldn't qualify as security issue.