Bug 1381517 (CVE-2016-5684)

Summary: CVE-2016-5684 freeimage: XMP Image Handling Code Execution Vulnerability
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bruno, hobbes1069, i, john
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: 2019-06-08 02:59:21 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: 1381518, 1381519, 1381520    
Bug Blocks:    

Description Andrej Nemec 2016-10-04 11:06:59 UTC
An exploitable out-of-bounds write vulnerability exists in the XMP image handling functionality of the FreeImage library.

A specially crafted XMP file can cause an arbitrary memory overwrite resulting in code execution. An attacker can provide a malicious image to trigger this vulnerability.

External References:

http://www.talosintelligence.com/reports/TALOS-2016-0189/

Upstream patches:

http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.17&r2=1.18
http://freeimage.cvs.sourceforge.net/viewvc/freeimage/FreeImage/Source/FreeImage/PluginXPM.cpp?r1=1.18&r2=1.19

Comment 1 Andrej Nemec 2016-10-04 11:07:58 UTC
Created freeimage tracking bugs for this issue:

Affects: fedora-all [bug 1381518]
Affects: epel-all [bug 1381520]

Comment 2 Andrej Nemec 2016-10-04 11:08:05 UTC
Created mingw-freeimage tracking bugs for this issue:

Affects: fedora-all [bug 1381519]

Comment 3 Product Security DevOps Team 2019-06-08 02:59:21 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.