Gentoo Logo

FontForge: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201201-08 / FontForge
Release Date January 23, 2012
Latest Revision January 23, 2012: 1
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/fontforge < 20110222-r1 >= 20110222-r1 All supported architectures

Related bugreports: #386293


A stack-based buffer overflow flaw in FontForge could result in execution of arbitrary code or a Denial of Service.

2.  Impact Information


FontForge is a PostScript font editor and converter.


FontForge is vulnerable to an error when processing the "CHARSET_REGISTRY" header in font files, which could cause a stack-based buffer overflow.


A remote attacker could entice a user to open a specially crafted BDF file using FontForge font editor, possibly resulting in the remote execution of arbitrary code with the privileges of the FontForge process, or a Denial of Service (application crash).

3.  Resolution Information


There is no known workaround at this time.


All FontForge users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=media-gfx/fontforge-20110222-r1"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since October 12, 2011. It is likely that your system is already no longer affected by this issue.

4.  References


Page updated January 23, 2012

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.