<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200905-05">
  <title>FreeType: Multiple vulnerabilities</title>
  <synopsis>
    Multiple integer overflows in FreeType might allow for the remote execution
    of arbitrary code or a Denial of Service.
  </synopsis>
  <product type="ebuild">freetype</product>
  <announced>2009-05-24</announced>
  <revised count="02">2009-05-25</revised>
  <bug>263032</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/freetype" auto="yes" arch="*">
      <unaffected range="ge">2.3.9-r1</unaffected>
      <unaffected range="lt">2.0</unaffected>
      <vulnerable range="lt">2.3.9-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    FreeType is a high-quality and portable font engine.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy reported multiple integer overflows in the
    cff_charset_compute_cids() function in cff/cffload.c, sfnt/tccmap.c and
    the ft_smooth_render_generic() function in smooth/ftsmooth.c, possibly
    leading to heap or stack-based buffer overflows.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user or automated system to open a
    specially crafted font file, possibly resulting in the execution of
    arbitrary code with the privileges of the user running the application,
    or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All FreeType users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/freetype-2.3.9-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0946">CVE-2009-0946</uri>
  </references>
  <metadata tag="requester" timestamp="2009-05-06T18:49:58Z">
    a3li
  </metadata>
  <metadata tag="submitter" timestamp="2009-05-07T11:07:09Z">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="2009-05-24T13:55:28Z">
    p-y
  </metadata>
</glsa>
