Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

FreeType Multiple Vulnerabilities

-

Release Date:  2010-08-06    Last Update:  2010-08-09    Views:  5,493

Secunia Advisory SA40816

Where:

From remote

Impact:

System access

Solution Status:

Vendor Patch

Software:

CVE Reference(s):

Description


Some vulnerabilities have been reported in FreeType, which can be exploited by malicious people to cause a DoS (Denial of Service) or compromise an application using the library.

1) Two vulnerabilities are caused due to errors when processing certain opcodes of Compact Font Format (CFF) fonts, which can be exploited to cause a stack corruption by tricking a user into processing a specially crafted CFF font in an application using the library.

This is related to:
SA40807

2) A boundary error exists within the "Mac_Read_POST_Resource()" function in src/base/ftobjs.c when processing certain Adobe Type 1 Mac Font File (LWFN) fonts, which can be exploited to cause a heap-based buffer overflow by tricking a user into processing a specially crafted LWFN font in an application using the library.

3) An error exists within the "t42_parse_sfnts()" function in src/type42/t42parse.c when processing T42 fonts. This can be exploited to e.g. cause a crash by tricking an application using the library into processing specially crafted T42 fonts.

4) Errors related to the "BOUNDS" macro in src/truetype/ttinterp.c when processing certain fonts can be exploited to e.g. cause a crash by tricking an application using the library into processing specially crafted fonts.

Note: This may only affect 64bit systems.

5) An error exists within the "FT_Stream_EnterFrame()" function in src/base/ftstream.c when processing certain font files. This can be exploited to e.g. cause a crash by tricking an application using the library into processing specially crafted fonts.

Note: This may only affect 64bit systems.


Solution:
Update to version 2.4.2.

Provided and/or discovered by:
1) comex, disclosed via jailbreakme.com.
Additional information provided by Braden Thomas, Apple Product Security Team.
2, 3, 4) Robert Swiecki
5) Chris Evans

Original Advisory:
http://freetype.sourceforge.net/index2.html#release-freetype-2.4.2

1) http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=018f5c27813dd7eef4648fe254632ecea0c85a50
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=11d65e8a1f1f14e56148fd991965424d9bd1cdbc
2) http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=81f3472c0ba7b8f6466e2e214fa8c1c17fade975
https://savannah.nongnu.org/bugs/?30658
3) https://savannah.nongnu.org/bugs/?30656
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=c06da1ad34663da7b6fc39b030dc3ae185b96557
4) https://savannah.nongnu.org/bugs/?30657
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=346f1867fd32dae8f56e5b482d1af98f626804ac
5) https://savannah.nongnu.org/bugs/?30644
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=45a3c76b547511fa9d97aca34b150a0663257375

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: FreeType Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability