GLSA 201201-08: FontForge: User-assisted execution of arbitrary code

Title:FontForge: User-assisted execution of arbitrary code
Bugs: #386293


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


FontForge is a PostScript font editor and converter.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/fontforge < 20110222-r1 >= 20110222-r1 All supported architectures


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).


There is no known workaround at this time.


All FontForge users should upgrade to the latest version:

      # 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.



This GLSA and any updates to it are available for viewing at the Gentoo Security Website:


Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to or alternatively, you may file a bug at


Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!