Debian Security Advisory

DSA-1635-1 freetype -- multiple vulnerabilities

Date Reported:
10 Sep 2008
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2008-1806, CVE-2008-1807, CVE-2008-1808.
More information:

Several local vulnerabilities have been discovered in freetype, a FreeType 2 font engine, which could allow the execution of arbitrary code.

The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2008-1806

    An integer overflow allows context-dependent attackers to execute arbitrary code via a crafted set of values within the Private dictionary table in a Printer Font Binary (PFB) file.

  • CVE-2008-1807

    The handling of an invalid number of axes field in the PFB file could trigger the freeing of arbitrary memory locations, leading to memory corruption.

  • CVE-2008-1808

    Multiple off-by-one errors allowed the execution of arbitrary code via malformed tables in PFB files, or invalid SHC instructions in TTF files.

For the stable distribution (etch), these problems have been fixed in version 2.2.1-5+etch3.

For the unstable distribution (sid), these problems have been fixed in version 2.3.6-1.

We recommend that you upgrade your freetype package.

Fixed in:

Debian GNU/Linux 4.0 (etch)

HP Precision:
Intel IA-32:
Intel IA-64:
Big-endian MIPS:
Little-endian MIPS:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.