Bug 1429965 (CVE-2016-10244) - CVE-2016-10244 freetype: parse_charstrings function in type1/t1load.c does not ensure that a font contains a glyph name
Summary: CVE-2016-10244 freetype: parse_charstrings function in type1/t1load.c does no...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-10244
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1429967 1429968 1429969
Blocks: 1429966
TreeView+ depends on / blocked
 
Reported: 2017-03-07 15:17 UTC by Andrej Nemec
Modified: 2019-09-29 14:08 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 05:50:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-03-07 15:17:53 UTC
The parse_charstrings function in type1/t1load.c in FreeType 2 does not ensure that a font contains a glyph name, which allows remote attackers to cause a denial of service (heap-based buffer over-read) or possibly have unspecified other impact via a crafted file.

References:

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

Upstream patch:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/src/type1/t1load.c?h=VER-2-7&id=a660e3de422731b94d4a134d27555430cbb6fb39

Comment 1 Andrej Nemec 2017-03-07 15:20:35 UTC
Created freetype tracking bugs for this issue:

Affects: fedora-all [bug 1429968]


Created mingw-freetype tracking bugs for this issue:

Affects: epel-7 [bug 1429969]
Affects: fedora-all [bug 1429967]

Comment 2 Huzaifa S. Sidhpurwala 2017-03-23 05:50:59 UTC
Analysis: 

As per the patch, seems to be a OOB read, causing a crash. I dont have access to the reproducer, but seems all versions of freetype shipped with Red Hat Enterprise Linux are affected.


Note You need to log in before you can comment on or make changes to this bug.