Bug 1628969 (CVE-2018-16435)

Summary: CVE-2018-16435 lcms2: Integer overflow in AllocateDataSet() in cmscgats.c leading to heap-based buffer overflow
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahughes, caolanm, dbhole, fedora, hobbes1069, jvanek, lpardo, rdieter, rhughes, twaugh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:37:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1628970, 1628971, 1628972, 1628973, 1640120, 1640121, 1640122, 1650516    
Bug Blocks: 1628975    

Description Laura Pardo 2018-09-14 14:32:11 UTC
A flaw was found in Little CMS (aka Little Color Management System) 2.9. An integer overflow in the AllocateDataSet function in cmscgats.c, leading to a heap-based buffer overflow in the SetData function via a crafted file in the second argument to cmsIT8LoadFromFile.


Upstream Fix:

Comment 1 Laura Pardo 2018-09-14 14:33:17 UTC
Created lcms2 tracking bugs for this issue:

Affects: epel-6 [bug 1628972]
Affects: fedora-all [bug 1628970]

Created mingw-lcms2 tracking bugs for this issue:

Affects: fedora-all [bug 1628971]

Comment 7 Tomas Hoger 2018-10-24 13:13:54 UTC
*** Bug 1640118 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2018-10-24 22:08:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2018:3004 https://access.redhat.com/errata/RHSA-2018:3004

Comment 10 Stefan Cornelius 2018-11-16 11:31:48 UTC

This issue affects the versions of lcms2 as shipped with Red Hat Enterprise Linux 7.