Bug 1552916 (CVE-2018-7641)

Summary: CVE-2018-7641 CImg: heap-based buffer over-read in load_bmp in CImg.h via crafted bmp image (32 bits colors)
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, cheese, i, laurent.rineau__fedora
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-10 10:16:58 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: 1552926, 1625321, 1625324    
Bug Blocks:    

Description Laura Pardo 2018-03-07 22:52:12 UTC
An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "32 bits colors" case, aka case 32.


References:
https://github.com/dtschump/CImg/issues/185

Upstream Patch:
https://github.com/dtschump/CImg/commit/10af1e8c1ad2a58a0a3342a856bae63e8f257abb

Comment 1 Laura Pardo 2018-03-07 22:54:37 UTC
Created CImg tracking bugs for this issue:

Affects: fedora-all [bug 1552926]

Comment 2 Scott Gayou 2018-09-04 16:18:43 UTC
Created CImg tracking bugs for this issue:

Affects: fedora-27 [bug 1625321]

Comment 3 Scott Gayou 2018-09-04 16:21:22 UTC
Second tracker for CImg was a mistake. Closed. Meant to open that against gmic.

Comment 5 Scott Gayou 2018-09-04 16:24:46 UTC
Created gmic tracking bugs for this issue:

Affects: fedora-all [bug 1625324]

Comment 6 Product Security DevOps Team 2019-06-10 10:16:58 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.