Bug 1444895 (CVE-2016-10328)

Summary: CVE-2016-10328 freetype: heap-based buffer overflow related to the cff_parser_run function
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: behdad, bmcclain, cfergeau, dblechte, eedri, erik-fedora, fedora-mingw, fonts-bugs, kevin, lsurette, mgoldboi, michal.skrivanek, mkasik, rbalakri, rh-spice-bugs, rjones, sardella, sherold, srevivo, ykaul, ylavi
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: 2017-06-29 04:47:10 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: 1444915, 1444916, 1444917    
Bug Blocks: 1444919    

Description Adam Mariš 2017-04-24 13:57:27 UTC
FreeType 2 before 2016-12-16 has an out-of-bounds write caused by a heap-based buffer overflow related to the cff_parser_run function in cff/cffparse.c.

Bug report:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=289

Comment 1 Adam Mariš 2017-04-24 14:28:28 UTC
Created freetype tracking bugs for this issue:

Affects: fedora-all [bug 1444917]


Created mingw-freetype tracking bugs for this issue:

Affects: epel-7 [bug 1444915]
Affects: fedora-all [bug 1444916]

Comment 2 Marek Kašík 2017-05-02 16:43:33 UTC
I can not reproduce this one too with our freetype versions.

Comment 3 Huzaifa S. Sidhpurwala 2017-06-29 04:47:10 UTC
This issue arises due to the following commit:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=3bd79cc257499f1850a1bace21f3ae371e3b40f0

Which has not been backported to version of freetype shipped with Red Hat Enterprise Linux and Fedora, hence these versions are not affected.

Upstream versions may also not be affected, because this was a very short lived regression.