Bug 1646708 (CVE-2018-18718)

Summary: CVE-2018-18718 gthumb: double-free in the add_themes_from_dir method in dlg-contact-sheet.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: chkr, john.j5live, mclasen, psampaio, rhughes, rstrode, sandmann
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-21 10:33:57 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: 1646709, 1646710    
Bug Blocks: 1646711    

Description Laura Pardo 2018-11-05 21:25:19 UTC
An issue was discovered in gThumb through 3.6.2. There is a double-free vulnerability in the add_themes_from_dir method in dlg-contact-sheet.c because of two successive calls of g_free, each of which frees the same buffer. 


References:
https://gitlab.gnome.org/GNOME/gthumb/issues/18

Comment 1 Laura Pardo 2018-11-05 21:26:03 UTC
Created gthumb tracking bugs for this issue:

Affects: epel-7 [bug 1646710]
Affects: fedora-all [bug 1646709]

Comment 2 Adam Mariš 2018-11-21 10:33:26 UTC
Statement:

This issue did not affect the versions of gthumb as shipped with Red Hat Enterprise Linux 5 and 6 as they did not include the vulnerable code.