SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Generic)  >  FreeType Vendors:  freetype.org
FreeType Integer Overflow in TT_Load_Simple_Glyph() Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1018088
SecurityTracker URL:  http://securitytracker.com/id?1018088
CVE Reference:  CVE-2007-2754   (Links to External Site)
Date:  May 21 2007
Impact:  Execution of arbitrary code via network, User access via network
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 2.3.4 and prior versions
Description:  A vulnerability was reported in FreeType. A remote user can cause arbitrary code to be executed on the target user's system.

A remote user can create a specially crafted TTF image that, when loaded by the target user or application, will trigger an integer overflow in TT_Load_Simple_Glyph() and execute arbitrary code on the target system. The code will run with the privileges of the target user or application.

The vulnerability resides in 'truetype/ttgload.c'.

Victor Stinner reported this vulnerability.

Impact:  A remote user can create an image that, when loaded by the target user, will execute arbitrary code on the target user's system.
Solution:  The vendor has issued a source code fix, available at:

http://cvs.savannah.nongnu.org/viewvc/freetype2/src/truetype/ttgload.c?root=freetype&r1=1.177&r2=1.178

Vendor URL:  www.freetype.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)
Reported By:  Victor Stinner <nouser@nohost.nodomain>
Message History:   This archive entry has one or more follow-up message(s) listed below.
Jun 11 2007 (Red Hat Issues Fix) FreeType Integer Overflow in TT_Load_Simple_Glyph() Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Enterprise Linux 2.1, 3, 4, and 5.
Jun 18 2007 (Sun Issues Fix for StarOffice) FreeType Integer Overflow in TT_Load_Simple_Glyph() Lets Remote Users Execute Arbitrary Code
Sun has issued a fix for StarOffice, which is affected by this vulnerability.
Jan 7 2008 (Sun Issues Fix) FreeType Integer Overflow in TT_Load_Simple_Glyph() Lets Remote Users Execute Arbitrary Code
Sun has issued a fix for Solaris 8, 9, and 10.
May 22 2009 (Red Hat Issues Fix) FreeType Integer Overflow in TT_Load_Simple_Glyph() Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Enterprise Linux 3 and 4.



 Source Message Contents

Date:  Fri, 27 Apr 2007 17:03:02 +0200
From:  Victor Stinner <nouser@nohost.nodomain>
Subject:  [ft-devel] Bug in fuzzed TTF file

 
Hi,
 
I wrote a fuzzer and tried it on Image Magick. I found some bugs and one 
critical in TTF format. I don't want to publish to much informations since I 
think that it's a serious security bug (may lead to arbitrary code 
execution).
 
It's hard to track the error but it's near line 325 in src/truetype/ttgload.c 
(function Get_VMetrics()). Status of the function on the crash:
   n_contours = 1
   n_points = -12526 (negative)
   tags = NULL
 
Problems:
   signed/unsigned integers conversion (stange instruction: « cont[0] = 
FT_GET_USHORT(); ») --> negative number of points
   tags in NULL (why?)
 
Contact me if you would like to get more informations or the bug to reproduce 
the bug.
 
Does Freetype use a bug tracker? Is the source repository (cvs/svn) public?
 
Victor
-- 
Victor Stinner
http://www.inl.fr/
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2007, SecurityGlobal.net LLC