Bug 890094 (CVE-2012-5670)

Summary: CVE-2012-5670 freetype: Out-of-bounds write in _bdf_parse_glyphs() (#37907)
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: behdad, erik-fedora, fedora-mingw, fonts-bugs, kevin, lfarkas, mkasik, rjones
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-03 05:20:53 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:    
Bug Blocks: 890078    

Description Huzaifa S. Sidhpurwala 2012-12-25 04:25:02 UTC
An out-of heap-based buffer write flaw was found in the way FreeType font rendering engine performed parsing of glyph information and relevant bitmaps for glyph bitmap distribution format (BDF). A remote attacker could provide a specially-crafted font file, which once opened in an application linked against FreeType would lead to that application crash, or, potentially, arbitrary code execution with the privileges of the user running the application.

Upstream bug:
https://savannah.nongnu.org/bugs/?37907 
Patch: 
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=7f2e4f4f553f6836be7683f66226afac3fa979b8

External References:

http://seclists.org/oss-sec/2012/q4/511

Comment 4 Huzaifa S. Sidhpurwala 2013-01-03 05:20:41 UTC
Statement:

Not Vulnerable. This issue did not affect the version of freetype as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 5 Huzaifa S. Sidhpurwala 2013-01-03 05:20:53 UTC
This issue did not affect the version of freetype as shipped with Fedora 16 and Fedora 17.