Gentoo Logo

FreeType: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201408-02 / freetype
Release Date August 09, 2014
Latest Revision August 09, 2014: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/freetype < 2.5.3-r1 >= 2.5.3-r1 All supported architectures

Related bugreports: #504088


A vulnerability in FreeType could result in execution of arbitrary code or Denial of Service.

2.  Impact Information


FreeType is a high-quality and portable font engine.


A stack-based buffer overflow exists in Freetype’s cf2_hintmap_build function in cff/cf2hints.c.


A remote attacker may be able to execute arbitrary code or cause a Denial of Service condition via specially crafted font file.

3.  Resolution Information


There is no known workaround at this time.


All FreeType users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=media-libs/freetype-2.5.3-r1"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying these packages.

4.  References


Page updated August 09, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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