Secunia Logo
Netsikker nu! 2008
 
FreeType Integer Overflow and Underflow Vulnerabilities
Secunia Advisory: SA20100
Release Date: 2006-05-19
Last Update: 2006-07-21
Popularity: 11,915 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Partial Fix

Software:FreeType 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0747
CVE-2006-1861
CVE-2006-2493
CVE-2006-3467


Description:
Some vulnerabilities have been reported in FreeType, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise applications using the library.

1) An integer overflow error exists within the "read_lwfn()" function in src/base/ftmac.c. This can potentially be exploited to cause a heap-based buffer overflow via a specially crafted LWFN file.

The vulnerability has been reported in version 2.2. Prior versions may also be affected.

2) An integer underflow error exists within the "src/pshinter/pshglob.c:psh_blues_set_zones_0()" function when handling a specially crafted font file where the number of blue values is odd. This can be exploited to cause an integer underflow which corrupts the heap.

The vulnerability has been reported in version 2.2. Prior versions may also be affected.

3) Integer overflow errors exist within the BDF, PCF and Type1 font file parsers. This can potentially be exploited to cause a heap-based buffer overflow via a specially crafted font file.

The vulnerabilities have been reported in version 2.1.10. Prior versions may also be affected.

Solution:
Update to version 2.2.1.
http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121

NOTE: This version does not properly fix one of the vulnerabilities.

Provided and/or discovered by:
1) Chris Evans
2) Josh Bressers
3) Chris Evans

Changelog:
2006-05-23: Updated advisory with additional vulnerability.
2006-05-25: Added CVE reference.
2006-06-12: Updated advisory with additional information.
2006-07-21: Added information about incorrect patch. Added CVE reference.

Original Advisory:
http://sourceforge.net/project/shownotes.php?release_id=416463
http://scary.beasts.org/security/CESA-2006-001.html

Red Hat Bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=190593
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183676


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. CA ARCserve Backup Multiple Vulnerabilities // 35 views
2. CUPS Multiple Vulnerabilities // 32 views
3. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 32 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 30 views
5. Fedora update for ruby // 28 views
6. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 24 views
7. Red Hat update for cups // 24 views
8. Subdreamer Light Global Variables SQL Injection Vulnerability // 23 views
9. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 23 views
10. Gentoo Portage Insecure Python Module Search Path Security Issue // 23 views