Gentoo Logo

FreeType: Buffer overflow

Content:

1.  Gentoo Linux Security Advisory

Version Information

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

Related bugreports: #179161

Synopsis

A vulnerability has been discovered in FreeType allowing for the execution of arbitrary code.

2.  Impact Information

Background

FreeType is a True Type Font rendering library.

Description

Victor Stinner discovered a heap-based buffer overflow in the function Get_VMetrics() in src/truetype/ttgload.c when processing TTF files with a negative n_points attribute.

Impact

A remote attacker could entice a user to open a specially crafted TTF file, possibly resulting in the execution of arbitrary code with the privileges of the user running FreeType.

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.3.4-r2"

4.  References



Print

Updated May 30, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL

Support OSL

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

Global Netoptex Inc.

Global Netoptex Inc.

Bytemark

Bytemark

Linux World Expo

Linux World Expo

Copyright 2001-2008 Gentoo Foundation, Inc. Questions, Comments? Contact us.