FreeType: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated May 01, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200705-02 / freetype
Release Date May 01, 2007
Latest Revision May 27, 2007: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/freetype < 2.1.10-r3 >= 2.1.10-r3, < 2.0 All supported architectures

Related bugreports: #172577

Synopsis

A vulnerability has been discovered in FreeType allowing for user-assisted remote execution of arbitrary code.

2.  Impact Information

Background

FreeType is a True Type Font rendering library.

Description

Greg MacManus of iDefense Labs has discovered an integer overflow in the function bdfReadCharacters() when parsing BDF fonts.

Impact

A remote attacker could entice a user to use a specially crafted BDF font, possibly resulting in a heap-based buffer overflow and the remote execution of arbitrary code.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All FreeType users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/freetype-2.1.10-r3"

4.  References