<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200505-07">
  <title>libTIFF: Buffer overflow</title>
  <synopsis>
    The libTIFF library is vulnerable to a buffer overflow, potentially
    resulting in the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">tiff</product>
  <announced>2005-05-10</announced>
  <revised count="02">2006-05-22</revised>
  <bug>91584</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/tiff" auto="yes" arch="*">
      <unaffected range="ge">3.7.2</unaffected>
      <vulnerable range="lt">3.7.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libTIFF provides support for reading and manipulating TIFF (Tag Image
    File Format) images.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a
    stack based buffer overflow in the libTIFF library when reading a TIFF
    image with a malformed BitsPerSample tag.
    </p>
  </description>
  <impact type="normal">
    <p>
    Successful exploitation would require the victim to open a specially
    crafted TIFF image, resulting in the execution of arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libTIFF users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/tiff-3.7.2"</code>
  </resolution>
  <references>
    <uri link="http://bugzilla.remotesensing.org/show_bug.cgi?id=843">LIBTIFF BUG#863</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1544">CVE-2005-1544</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-05-09T18:55:28Z">
    taviso
  </metadata>
  <metadata tag="bugReady" timestamp="2005-05-10T20:03:29Z">
    jaervosz
  </metadata>
</glsa>
